build: update artifact paths to version 4 for Linux and Windows binaries

This commit is contained in:
admin 2026-04-04 02:04:58 +08:00
parent aafa1d387e
commit 121721b0af

View File

@ -54,8 +54,8 @@ jobs:
with: with:
name: ${{ env.APP_NAME }}-dev-${{ env.SHA_SHORT }} name: ${{ env.APP_NAME }}-dev-${{ env.SHA_SHORT }}
path: | path: |
./dist/default_linux_amd64_v1/${{ env.APP_NAME }} ./dist/default_linux_amd64_v4/${{ env.APP_NAME }}
./dist/default_windows_amd64_v1/${{ env.APP_NAME }}.exe ./dist/default_windows_amd64_v4/${{ env.APP_NAME }}.exe
- name: Release - name: Release
uses: goreleaser/goreleaser-action@v6 uses: goreleaser/goreleaser-action@v6
@ -71,8 +71,8 @@ jobs:
with: with:
tag_name: ${{ github.ref_name }} tag_name: ${{ github.ref_name }}
files: | files: |
./dist/default_linux_amd64_v1/${{ env.APP_NAME }} ./dist/default_linux_amd64_v4/${{ env.APP_NAME }}
./dist/default_windows_amd64_v1/${{ env.APP_NAME }}.exe ./dist/default_windows_amd64_v4/${{ env.APP_NAME }}.exe
fail_on_unmatched_files: true fail_on_unmatched_files: true
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}