Skip to content

Commit

Permalink
fix: env variable, add release step
Browse files Browse the repository at this point in the history
  • Loading branch information
gouravkhunger committed Aug 22, 2024
1 parent 9c872ef commit dd377a8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ jobs:
env:
BUILD_TYPE: ${{ github.event.inputs.buildType }}
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
run: |
if [ "$BUILD_TYPE" = "release" ]; then
echo "APK_PATH=app/build/outputs/apk/release/*.apk" >> $GITHUB_ENV
Expand Down Expand Up @@ -87,5 +86,8 @@ jobs:
git tag "${{ github.event.inputs.tag }}"
git push --tags
- name: Delete APK artifact
run: rm -rf $GITHUB_WORKSPACE/*.apk
- name: Create release
uses: softprops/action-gh-release@v2
with:
files: "*.apk"
generate_release_notes: true

0 comments on commit dd377a8

Please sign in to comment.