Skip to content

Commit

Permalink
chage the way to declare env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
neoBortx authored and Borja committed Jan 18, 2024
1 parent 57c2703 commit 37d31d3
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/android_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,17 @@ jobs:
run: |
VERSION=$(./gradlew -q printVersionName)
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "::set-output name=version::$VERSION"
- name: Set up env variables
run: |
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "ENCODED_KEYSTORE=${{ secrets.ENCODED_KEYSTORE }}" >> $GITHUB_ENV
echo "KEYSTORE_PATH=${{ secrets.KEYSTORE_PATH }}" >> $GITHUB_ENV
echo "KEY_ALIAS=${{ secrets.KEY_ALIAS }}" >> $GITHUB_ENV
echo "KEYSTORE_PASSWORD=${{ secrets.KEYSTORE_PASSWORD }}" >> $GITHUB_ENV
- name: Build and Sign AAR
env:
ENCODED_KEYSTORE: ${{ secrets.ENCODED_KEYSTORE }}
KEYSTORE_PATH: ${{ secrets.KEYSTORE_PATH }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
run: ./gradlew assembleRelease

- name: Create Release
Expand Down

0 comments on commit 37d31d3

Please sign in to comment.