-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cfcdf07
commit 9c6585f
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} |