Skip to content

Commit

Permalink
Fix: env variables in github
Browse files Browse the repository at this point in the history
  • Loading branch information
titi0267 committed Feb 19, 2024
1 parent 0cd83ac commit cc8d250
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
MYAPP_UPLOAD_KEY_ALIAS: ${{ secrets.MYAPP_UPLOAD_KEY_ALIAS }}
MYAPP_UPLOAD_KEY_PASSWORD: ${{ secrets.MYAPP_UPLOAD_KEY_PASSWORD }}
MYAPP_UPLOAD_STORE_PASSWORD: ${{ secrets.MYAPP_UPLOAD_STORE_PASSWORD }}
HOST: ${{ secrets.HOST }}
JAWG_API_KEY: ${{ secrets.JAWG_API_KEY }}
MAPBOX_API_KEY: ${{ secrets.MAPBOX_API_KEY }}
run: |
cd android
./gradlew assembleRelease
Expand All @@ -57,6 +60,21 @@ jobs:
MYAPP_UPLOAD_KEY_ALIAS: ${{ secrets.MYAPP_UPLOAD_KEY_ALIAS }}
MYAPP_UPLOAD_KEY_PASSWORD: ${{ secrets.MYAPP_UPLOAD_KEY_PASSWORD }}
MYAPP_UPLOAD_STORE_PASSWORD: ${{ secrets.MYAPP_UPLOAD_STORE_PASSWORD }}
HOST: ${{ secrets.HOST }}
JAWG_API_KEY: ${{ secrets.JAWG_API_KEY }}
MAPBOX_API_KEY: ${{ secrets.MAPBOX_API_KEY }}
run: |
cd android
./gradlew bundleRelease
- name: Upload App bundle to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
release_name: 'V${{steps.version.outputs.prop}}-${{steps.versionCode.outputs.prop}}'
file: ./android/app/build/outputs/apk/release/app-release.apk
asset_name: app-release.apk
tag: 'v${{steps.version.outputs.prop}}'
overwrite: true
body: |
Release version ${{steps.version.outputs.prop}}
Fetures:

0 comments on commit cc8d250

Please sign in to comment.