mirror of
https://github.com/Alexandre1a/GoSH.git
synced 2026-07-09 22:18:28 +02:00
Enable Windows builds in GitHub Actions workflow
Added Windows build for reasons, may not work on Windows due to paths
This commit is contained in:
parent
169929f577
commit
9857b7fe4a
7
.github/workflows/go.yml
vendored
7
.github/workflows/go.yml
vendored
@ -27,13 +27,12 @@ jobs:
|
|||||||
# macOS
|
# macOS
|
||||||
GOOS=darwin GOARCH=amd64 go build -o dist/gosh-darwin-amd64
|
GOOS=darwin GOARCH=amd64 go build -o dist/gosh-darwin-amd64
|
||||||
GOOS=darwin GOARCH=arm64 go build -o dist/gosh-darwin-arm64
|
GOOS=darwin GOARCH=arm64 go build -o dist/gosh-darwin-arm64
|
||||||
|
# Windows
|
||||||
|
GOOS=windows GOARCH=amd64 go build -o dist/gosh-windows-amd64.exe
|
||||||
|
GOOS=windows GOARCH=arm64 go build -o dist/gosh-windows-arm64.exe
|
||||||
|
|
||||||
ls -lh dist/
|
ls -lh dist/
|
||||||
|
|
||||||
# Windows
|
|
||||||
# GOOS=windows GOARCH=amd64 go build -o dist/gosh-windows-amd64.exe
|
|
||||||
# GOOS=windows GOARCH=arm64 go build -o dist/gosh-windows-arm64.exe
|
|
||||||
|
|
||||||
|
|
||||||
- name: Upload binaries as artifacts
|
- name: Upload binaries as artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user