diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f682860..a564eb1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,9 +45,9 @@ jobs: - uses: actions/download-artifact@v4 - name: Get latest release tag id: get_latest_release - run: echo "::set-output name=tag::$(gh release list --exclude-pre-releases --limit 1 --json tagName --jq '.[0].tagName')" + run: echo "tag=$(gh release list --exclude-pre-releases --limit 1 --json tagName --jq '.[0].tagName')" >> $GITHUB_ENV - name: Export APK_NAME for later use - run: echo "APK_NAME=ALN-${{ steps.get_latest_release.outputs.tag }}-${{ github.sha }}" >> $GITHUB_ENV + run: echo "APK_NAME=ALN-${{ env.tag }}-$(echo ${{ github.sha }} | cut -c1-7).apk" >> $GITHUB_ENV - name: Rename .apk file run: mv "./Debug APK/debug/"*.apk "./$APK_NAME" - name: Decode keystore file