mirror of
https://github.com/cmclark00/TetriStats.git
synced 2025-05-17 22:55:21 +01:00
Fix APK path in GitHub workflow to match actual build output
This commit is contained in:
parent
3efb1b95fb
commit
5af491a65c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -46,13 +46,13 @@ jobs:
|
|||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
mkdir -p renamed_apk
|
||||
cp app/build/outputs/apk/release/app-release-universal.apk renamed_apk/TetriStats-${{ env.VERSION_NAME }}.apk
|
||||
cp app/build/outputs/apk/release/app-universal-release-unsigned.apk renamed_apk/TetriStats-${{ env.VERSION_NAME }}.apk
|
||||
|
||||
- name: Rename APK for push release
|
||||
if: ${{ !startsWith(github.ref, 'refs/tags/') && github.event_name == 'push' }}
|
||||
run: |
|
||||
mkdir -p renamed_apk
|
||||
cp app/build/outputs/apk/release/app-release-universal.apk renamed_apk/TetriStats-${{ env.VERSION_NAME }}-${{ github.run_number }}.apk
|
||||
cp app/build/outputs/apk/release/app-universal-release-unsigned.apk renamed_apk/TetriStats-${{ env.VERSION_NAME }}-${{ github.run_number }}.apk
|
||||
|
||||
- name: Upload APK as artifact for tag release
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue