chore: release macos amd64 (#116)

* chore: Release macos amd64

* fix: windows exe
This commit is contained in:
tbphp
2025-08-03 21:23:32 +08:00
committed by GitHub
parent 7e3797d2ad
commit b250b95d3c
3 changed files with 18 additions and 9 deletions

View File

@@ -33,13 +33,13 @@ jobs:
- name: Build Backend
run: |
go mod download
go build -ldflags "-s -w -X gpt-load/internal/version.Version=${{ github.ref_name }}" -o gpt-load.exe
go build -ldflags "-s -w -X gpt-load/internal/version.Version=${{ github.ref_name }}" -o gpt-load-windows-amd64.exe
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
gpt-load.exe
gpt-load-windows-amd64.exe
draft: true
generate_release_notes: true
env: