From 22ec99aa54c666964214ef48c033f24bed9c5f5c Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Sat, 25 May 2024 01:37:52 +0800 Subject: [PATCH] Change action on tag --- .github/workflows/linux-aarch64.yml | 2 +- .github/workflows/linux-armv7.yml | 2 +- .github/workflows/linux-riscv64.yml | 2 +- .github/workflows/linux-x64.yml | 2 +- .github/workflows/macos.yml | 2 +- .github/workflows/windows.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/linux-aarch64.yml b/.github/workflows/linux-aarch64.yml index bc13c05..2b3798c 100644 --- a/.github/workflows/linux-aarch64.yml +++ b/.github/workflows/linux-aarch64.yml @@ -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 }} diff --git a/.github/workflows/linux-armv7.yml b/.github/workflows/linux-armv7.yml index 9545a35..b09d8f4 100644 --- a/.github/workflows/linux-armv7.yml +++ b/.github/workflows/linux-armv7.yml @@ -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 }} diff --git a/.github/workflows/linux-riscv64.yml b/.github/workflows/linux-riscv64.yml index 9cd438d..6631630 100644 --- a/.github/workflows/linux-riscv64.yml +++ b/.github/workflows/linux-riscv64.yml @@ -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 }} diff --git a/.github/workflows/linux-x64.yml b/.github/workflows/linux-x64.yml index 18c2360..678cfe0 100644 --- a/.github/workflows/linux-x64.yml +++ b/.github/workflows/linux-x64.yml @@ -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 }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index f493ae0..9633232 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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 }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index beae478..c17fd8f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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