aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/s3-snapshots.yml
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-06-16 12:35:17 +0200
committerKamil Doległo <9080183+kamildoleglo@users.noreply.github.com>2020-06-16 13:04:26 +0200
commit12150420c6a384bcb673d2e6d520913d47f61180 (patch)
tree9ba88e0914d68829d4c7c3c3a007f3ba69617720 /.github/workflows/s3-snapshots.yml
parent82a09064511efc202f8b6c9bc7341f880dc36c66 (diff)
downloaddokka-12150420c6a384bcb673d2e6d520913d47f61180.tar.gz
dokka-12150420c6a384bcb673d2e6d520913d47f61180.tar.bz2
dokka-12150420c6a384bcb673d2e6d520913d47f61180.zip
Document coroutines, temporarily disable stdlib
Diffstat (limited to '.github/workflows/s3-snapshots.yml')
-rw-r--r--.github/workflows/s3-snapshots.yml23
1 files changed, 11 insertions, 12 deletions
diff --git a/.github/workflows/s3-snapshots.yml b/.github/workflows/s3-snapshots.yml
index b7610783..dbd10d29 100644
--- a/.github/workflows/s3-snapshots.yml
+++ b/.github/workflows/s3-snapshots.yml
@@ -7,9 +7,8 @@ env:
bucket-name: 'dokka-snapshots'
jobs:
- build:
+ coroutines:
runs-on: ubuntu-latest
-
steps:
- name: Checkout dokka
uses: actions/checkout@v2
@@ -24,16 +23,16 @@ jobs:
run: ./gradlew clean publishToMavenLocal --stacktrace
working-directory: ./dokka
- - name: Checkout stdlib
+ - name: Checkout coroutines
uses: actions/checkout@v2
with:
- repository: 'kamildoleglo/kotlin-dokka-stdlib'
- ref: 'master'
- path: stdlib
+ repository: 'kamildoleglo/kotlinx.coroutines'
+ ref: 'aws'
+ path: coroutines
- - name: Document stdlib
- run: ./gradlew clean callDokka --stacktrace
- working-directory: ./stdlib
+ - name: Document coroutines
+ run: ./gradlew clean :dokkaCollector --stacktrace
+ working-directory: ./coroutines
- name: Configure AWS credentials for S3 access
uses: aws-actions/configure-aws-credentials@v1
@@ -44,6 +43,6 @@ jobs:
- name: Copy files to dokka's S3 bucket
run: |
- aws s3 --recursive rm s3://${{ env.bucket-name }}/${{ env.branch-name }}/stdlib/prev
- aws s3 --recursive mv s3://${{ env.bucket-name }}/${{ env.branch-name }}/stdlib/latest s3://${{ env.bucket-name }}/${{ env.branch-name }}/stdlib/prev
- aws s3 sync ./stdlib/build/dokka s3://${{ env.bucket-name }}/${{ env.branch-name }}/stdlib/latest
+ aws s3 --recursive rm s3://${{ env.bucket-name }}/${{ env.branch-name }}/coroutines/prev
+ aws s3 --recursive mv s3://${{ env.bucket-name }}/${{ env.branch-name }}/coroutines/latest s3://${{ env.bucket-name }}/${{ env.branch-name }}/coroutines/prev
+ aws s3 sync ./coroutines/build/dokkaCollector s3://${{ env.bucket-name }}/${{ env.branch-name }}/coroutines/latest