Skip to content

Commit

Permalink
Update gorelease.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
damiensedgwick authored Mar 3, 2024
1 parent 4484012 commit 8efb59a
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions .github/workflows/gorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,10 @@ jobs:
goarch: ["386", amd64, arm64]

steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22' # Or your desired Go version

- name: Build Binaries
env:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.goarch }}
run: go build -tags netgo -a -v -o dist/${{ matrix.os }}-${{ matrix.goarch }}/napp .

- name: Create Release Artifacts
uses: actions/upload-artifact@v4
with:
name: binaries
path: dist/

- uses: actions/checkout@v4
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "napp"

0 comments on commit 8efb59a

Please sign in to comment.