Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KreutzerCode authored Jan 23, 2024
1 parent cfcdf07 commit 9c6585f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.16
go-version: 1.20

- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build Binary for Linux
run: GOOS=linux GOARCH=amd64 go build -o wp-wingman main.go
run: GOOS=linux GOARCH=amd64 go build -o wp-wingman-${GOOS}-${GOARCH} main.go

- name: Upload assets to a Release
uses: AButler/[email protected]
with:
files: "wp-wingman"
files: "wp-wingman*"
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9c6585f

Please sign in to comment.