Skip to content

Commit

Permalink
Set the base name for the play upload job
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrowlands committed Oct 26, 2023
1 parent 3edffc7 commit c7102bc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/android-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
-Pandroid.injected.signing.key.alias=$KEY_ALIAS
-Pandroid.injected.signing.key.password=$KEY_PASSWORD

- name: Get APK name
- name: Get base name
run: echo "base_name=`./gradlew :networksurvey:properties -q | grep 'archivesBaseName:' | awk '{print $2}'`" >> $GITHUB_ENV

- name: Upload Regular APK
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
- name: Create a Release in GitHub
uses: ncipollo/release-action@v1
with:
artifacts: "networksurvey/build/outputs/apk/cdr/release/*.apk,networksurvey/build/outputs/apk/regular/release/*.apk,networksurvey/build/outputs/bundle/regularRelease/*.aab"
artifacts: "networksurvey/build/outputs/apk/cdr/release/*.apk,networksurvey/build/outputs/apk/regular/release/*.apk"
token: ${{ secrets.GH_TOKEN }}
tag: ${{ steps.version.outputs.content }}
commit: ${{ github.sha }}
Expand All @@ -213,6 +213,9 @@ jobs:
with:
name: regular-appbundle

- name: Get base name
run: echo "base_name=`./gradlew :networksurvey:properties -q | grep 'archivesBaseName:' | awk '{print $2}'`" >> $GITHUB_ENV

- name: Release app to internal track
uses: r0adkll/upload-google-play@v1
with:
Expand Down

0 comments on commit c7102bc

Please sign in to comment.