Skip to content

Commit

Permalink
Fix AAB upload
Browse files Browse the repository at this point in the history
  • Loading branch information
shubertm committed Oct 25, 2024
1 parent ebe14cf commit a682e2c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: amuzic
path: ./app/build/outputs/aab/release/*.aab
path: ./app/build/outputs/bundle/release/*.aab

- name: Create Release
run: |
gh release create ${{ github.ref_name }} --title "Amuzic $(echo ${{ github.ref_name }} | rev | cut -d 'v' -f 1 | rev)" --generate-notes
gh release upload ${{ github.ref_name }} ./app/build/outputs/apk/release/amuzic.apk ./app/build/outputs/aab/release/amuzic.aab
gh release upload ${{ github.ref_name }} ./app/build/outputs/apk/release/amuzic.apk ./app/build/outputs/bundle/release/amuzic.aab
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ local.properties
*.tab
*.tab.values.at
misc.xml
*.jks
3 changes: 2 additions & 1 deletion app/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/build
/build
*.jks
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ android {
signingConfigs {
release {
storeFile file("amuzic_release_keystore.jks")
storePassword System.getenv("SIGNING_KEYSTORE_PASSWORD")
keyAlias System.getenv("KEY_ALIAS")
keyPassword System.getenv("KEY_PASSWORD")
storePassword "amuzic_24" //System.getenv("SIGNING_KEYSTORE_PASSWORD")
keyAlias "amuzic_key" //System.getenv("KEY_ALIAS")
keyPassword "amuzic_2410" //System.getenv("KEY_PASSWORD")
v1SigningEnabled true
v2SigningEnabled true
}
Expand Down

0 comments on commit a682e2c

Please sign in to comment.