From 3bcef7ff35128e248cfa6a844cdec1cce2c9a098 Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Sun, 4 Oct 2020 15:09:24 +0200 Subject: [PATCH] - fix typo, write out properties properly --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 332001cbe..7a1155a96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,19 +72,23 @@ jobs: if: startsWith(github.ref, 'refs/tags/') run: ./gradlew app:assembleRelease app:bundleRelease + - name: Prepare Gradle Publish properties + if: startsWith(github.ref, 'refs/tags/') + run: | + echo "NEXUS_USERNAME=${{ secrets.NEXUS_USERNAME }}" >> ~/.gradle/gradle.properties + echo "NEXUS_PASSWORD=${{ secrets.NEXUS_PASSWORD }}" >> ~/.gradle/gradle.properties + - name: Relase bintray if: startsWith(github.ref, 'refs/tags/') run: | ./gradlew build -x test -x lint ./gradlew library:bintrayUpload -x test -x lint -Plibrary_only --no-configure-on-demand --no-parallel ./gradlew library-nav:bintrayUpload -x test -x lint -Plibrary_nav_only --no-configure-on-demand --no-parallel - ./gradlew library-iconics:bintrayUpload -x test -x lint -Plibrary_iconics_onlyv --no-configure-on-demand --no-parallel + ./gradlew library-iconics:bintrayUpload -x test -x lint -Plibrary_iconics_only --no-configure-on-demand --no-parallel env: BINTRAY_USER: ${{ secrets.BINTRAY_USER }} BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }} BINTRAY_GPG_PASS: ${{ secrets.BINTRAY_GPG_PASS }} - NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} - NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} - name: Collect artifacts run: |