Skip to content

Commit

Permalink
Merge pull request #2 from un-simp/main
Browse files Browse the repository at this point in the history
Linux Build Support
  • Loading branch information
NotZoeyDev authored Aug 25, 2022
2 parents d6d2e0b + 0845e63 commit 18f9724
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,20 @@ jobs:
GOOS: "darwin"
run: go build -o build/patcher.mac-arm64 cmds/patcher/main.go

- name: Build for Linux amd64
env:
GOPROXY: "https://proxy.golang.org"
GOARCH: "amd64"
GOOS: "linux"
run: go build -o build/patcher.linux-amd64 cmds/patcher/main.go

- name: Build for Linux arm64
env:
GOPROXY: "https://proxy.golang.org"
GOARCH: "arm64"
GOOS: "linux"
run: go build -o build/patcher.linux-arm64 cmds/patcher/main.go

- name: Create release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -48,4 +62,6 @@ jobs:
build/patcher.win-amd64.exe
build/patcher.mac-amd64
build/patcher.mac-arm64
LICENSE
build/patcher.linux-amd64
build/patcher.linux-arm64
LICENSE

0 comments on commit 18f9724

Please sign in to comment.