Skip to content

Commit f5032c5

Browse files
committed
fix ci??
1 parent 22700b8 commit f5032c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ jobs:
4545
- uses: actions/download-artifact@v4
4646
- name: Get latest release tag
4747
id: get_latest_release
48-
run: echo "::set-output name=tag::$(gh release list --exclude-pre-releases --limit 1 --json tagName --jq '.[0].tagName')"
48+
run: echo "tag=$(gh release list --exclude-pre-releases --limit 1 --json tagName --jq '.[0].tagName')" >> $GITHUB_ENV
4949
- name: Export APK_NAME for later use
50-
run: echo "APK_NAME=ALN-${{ steps.get_latest_release.outputs.tag }}-${{ github.sha }}" >> $GITHUB_ENV
50+
run: echo "APK_NAME=ALN-${{ env.tag }}-$(echo ${{ github.sha }} | cut -c1-7).apk" >> $GITHUB_ENV
5151
- name: Rename .apk file
5252
run: mv "./Debug APK/debug/"*.apk "./$APK_NAME"
5353
- name: Decode keystore file

0 commit comments

Comments
 (0)