mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-26 15:24:15 +01:00
Make CI APK name more verbose
Adds the CI run number to the APK name, they were `app-(debug/release).apk` but are now `skyline-${CI run number}-(debug/release).apk`. This makes it significantly easier to identify what version a specific build is, this alongside signing consolidates Skyline builds.
This commit is contained in:
parent
b91ce939a2
commit
c516819e6e
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
@ -57,23 +57,28 @@ jobs:
|
|||||||
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
|
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
|
||||||
run: ./gradlew --stacktrace assemble
|
run: ./gradlew --stacktrace assemble
|
||||||
|
|
||||||
|
- name: Rename APKs
|
||||||
|
run: |
|
||||||
|
mv app/build/outputs/apk/debug/app-debug.apk skyline-$GITHUB_RUN_NUMBER-debug.apk
|
||||||
|
mv app/build/outputs/apk/release/app-release.apk skyline-$GITHUB_RUN_NUMBER-release.apk
|
||||||
|
|
||||||
- name: Upload Debug APK
|
- name: Upload Debug APK
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: app-debug.apk
|
name: skyline-${{ github.run_number }}-debug.apk
|
||||||
path: app/build/outputs/apk/debug/
|
path: skyline-${{ github.run_number }}-debug.apk
|
||||||
|
|
||||||
- name: Upload Release APK
|
- name: Upload Release APK
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: app-release.apk
|
name: skyline-${{ github.run_number }}-release.apk
|
||||||
path: app/build/outputs/apk/release/
|
path: skyline-${{ github.run_number }}-release.apk
|
||||||
|
|
||||||
- name: Upload R8 Mapping
|
- name: Upload R8 Mapping
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: mapping.txt
|
name: r8-mapping.txt
|
||||||
path: app/build/outputs/mapping/release/
|
path: app/build/outputs/mapping/release/mapping.txt
|
||||||
|
|
||||||
- name: Delete Build Folder
|
- name: Delete Build Folder
|
||||||
run: rm -rf app/build/
|
run: rm -rf app/build/
|
||||||
|
Loading…
Reference in New Issue
Block a user