diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1cb9686aff..7a6d258617 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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