Skip to content
This repository was archived by the owner on Feb 19, 2023. It is now read-only.

Commit

Permalink
ci: fix github actions deploy
Browse files Browse the repository at this point in the history
GitHub actions deploy was using the old deprecated way to set env variables.
Update to use the newest way to set an env variable.
  • Loading branch information
Chesire authored Feb 27, 2021
1 parent 7e569b9 commit 99bcba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ jobs:
- name: run assemble
run: ./gradlew assemble
- name: Set env
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Deploy
run: ./gradlew deploy -PbintrayUser=${{ secrets.BINTRAY_USER_ID }} -PbintrayKey=${{ secrets.BINTRAY_API_KEY }} -PpublishVersion=${{ env.RELEASE_VERSION }}
run: ./gradlew deploy -PbintrayUser=${{ secrets.BINTRAY_USER_ID }} -PbintrayKey=${{ secrets.BINTRAY_API_KEY }} -PpublishVersion=$RELEASE_VERSION

0 comments on commit 99bcba6

Please sign in to comment.