diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-06-30 17:34:26 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-06-30 18:20:46 +0200 |
commit | 14e71e40dfab5f18ccd56b0c015383c0dfb5df51 (patch) | |
tree | 04e32000d07ef32367412122a884984fddb6e4c2 /.github | |
parent | bd771d218422cf5695c2b2ad18d92f3975c088b0 (diff) | |
download | dokka-14e71e40dfab5f18ccd56b0c015383c0dfb5df51.tar.gz dokka-14e71e40dfab5f18ccd56b0c015383c0dfb5df51.tar.bz2 dokka-14e71e40dfab5f18ccd56b0c015383c0dfb5df51.zip |
Parametrize dokka version in AWS generation
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/s3-snapshots.yml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/s3-snapshots.yml b/.github/workflows/s3-snapshots.yml index 1afc3633..ac585538 100644 --- a/.github/workflows/s3-snapshots.yml +++ b/.github/workflows/s3-snapshots.yml @@ -23,6 +23,10 @@ jobs: run: ./gradlew clean publishToMavenLocal --stacktrace working-directory: ./dokka + - name: Get current dokka version + run: echo "::set-env name=DOKKA_VERSION::`./gradlew :properties | grep '^version:.*' | cut -d ' ' -f 2`" + working-directory: ./dokka + - name: Checkout coroutines uses: actions/checkout@v2 with: @@ -31,7 +35,7 @@ jobs: path: coroutines - name: Document coroutines - run: ./gradlew clean :dokkaCollector --stacktrace + run: ./gradlew clean :dokkaCollector -Pdokka_version=$DOKKA_VERSION --stacktrace working-directory: ./coroutines - name: Configure AWS credentials for S3 access @@ -65,6 +69,10 @@ jobs: run: ./gradlew clean publishToMavenLocal --stacktrace working-directory: ./dokka + - name: Get current dokka version + run: echo "::set-env name=DOKKA_VERSION::`./gradlew :properties | grep '^version:.*' | cut -d ' ' -f 2`" + working-directory: ./dokka + - name: Checkout stdlib uses: actions/checkout@v2 with: @@ -73,7 +81,7 @@ jobs: path: stdlib - name: Document stdlib - run: ./gradlew clean callDokka --stacktrace + run: ./gradlew clean callDokka -Pdokka_version=$DOKKA_VERSION --stacktrace working-directory: ./stdlib - name: Configure AWS credentials for S3 access |