Skip to content

Commit

Permalink
Fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
shubertm committed Oct 28, 2024
1 parent e82b5c1 commit ec4476d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
uses: gradle/actions/wrapper-validation@v3

- name: Build Debug APK
run: ./gradlew assembleDebug
run: |
echo ${{ github.workspace }}
./gradlew assembleDebug
#- name: Build Release APK
# run: ./gradlew assembleRelease
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:

- name: Create Release
run: |
echo ${{ github.workspace }}
gh release create ${{ github.ref_name }} --title "Amuzic $(echo ${{ github.ref_name }} | rev | cut -d 'v' -f 1 | rev)" --generate-notes
cd ${{ github.workspace }}
gh release upload ${{ github.ref_name }} ./app/build/outputs/apk/release/amuzic.apk ./app/build/outputs/bundle/release/amuzic.aab
gh release upload ${{ github.ref_name }} ./app/build/outputs/apk/release/amuzic.apk ./app/build/outputs/bundle/release/amuzic-bundle.aab
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ec4476d

Please sign in to comment.