Skip to content

Commit c7296f3

Browse files
committed
Update rb-verify.yml
1 parent 6e4e960 commit c7296f3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/rb-verify.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ jobs:
2424
run: sudo apt install npm node-typescript rsync apksigcopier
2525

2626
- name: Set env
27+
uses: "WyriHaximus/github-action-get-previous-tag@v1"
2728
run: |
28-
echo "VERSION_NAME=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
29-
echo "RELEASE_APK_NAME=Sharing-${{ github.event.release.tag_name }}.apk" >> $GITHUB_ENV
29+
echo "VERSION_NAME=${{ steps.previoustag.outputs.tag }}" >> $GITHUB_ENV
30+
echo "RELEASE_APK_NAME=Sharing-${{ steps.previoustag.outputs.tag }}.apk" >> $GITHUB_ENV
3031
- name: Build App
3132
run: |
3233
npm install --prefix web/

0 commit comments

Comments
 (0)