mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Use short sha in nightly filename, remove disallowed parentheses (#4272)
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -125,11 +125,12 @@ jobs:
|
||||
needs: build-debug-apk
|
||||
permissions:
|
||||
contents: write
|
||||
env:
|
||||
APK_NAME: Lawnchair.Debug.${{ github.ref_name }}.Nightly-${{ github.sha }}-(CI_${{ github.run_number }}).apk
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/download-artifact@v4
|
||||
# Note the # and () symbols are not supported in GitHub Release filenames, even manually
|
||||
- name: Export APK_NAME for later use
|
||||
run: echo "APK_NAME=Lawnchair.Debug.${{ github.ref_name }}.Nightly-$(echo ${{ github.sha }} | cut -c1-7)-CI_${{ github.run_number }}.apk" >> $GITHUB_ENV
|
||||
- name: Rename .apk file
|
||||
run: mv "./Debug APK/lawnWithQuickstepGithub/debug/"*.apk "./$APK_NAME"
|
||||
- name: Delete release if exist then create release
|
||||
|
||||
Reference in New Issue
Block a user