Change action on tag

This commit is contained in:
Aoran Zeng 2024-05-25 01:37:52 +08:00
parent 8537b7ef59
commit 22ec99aa54
6 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: preview
tag_name: latest
files: |
./artifacts/chsrc-aarch64-linux
token: ${{ secrets.CHSRC_UPLOAD }}

View File

@ -30,7 +30,7 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: preview
tag_name: latest
files: |
./artifacts/chsrc-armv7-linux
token: ${{ secrets.CHSRC_UPLOAD }}

View File

@ -30,7 +30,7 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: preview
tag_name: latest
files: |
./artifacts/chsrc-riscv64-linux
token: ${{ secrets.CHSRC_UPLOAD }}

View File

@ -24,7 +24,7 @@ jobs:
uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
with:
tag_name: preview
tag_name: latest
files: |
chsrc-x64-linux
token: ${{ secrets.CHSRC_UPLOAD }}

View File

@ -26,7 +26,7 @@ jobs:
uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
with:
tag_name: preview
tag_name: latest
files: |
chsrc-x64-macos
token: ${{ secrets.CHSRC_UPLOAD }}

View File

@ -46,7 +46,7 @@ jobs:
uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
with:
tag_name: preview
tag_name: latest
files: |
chsrc-x64-windows.exe
chsrc-x86-windows.exe