mirror of
https://wiilab.wiimart.org/wiimart/WiiSOAP
synced 2025-09-05 13:01:01 +02:00
Update go.yml
This commit is contained in:
parent
a2de0a1015
commit
18799fd300
12
.github/workflows/go.yml
vendored
12
.github/workflows/go.yml
vendored
@ -45,9 +45,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
GOOS=${{ runner.os == 'Windows' && 'windows' || runner.os == 'macOS' && 'darwin' || 'linux' }}
|
if [ "${{ runner.os }}" == "Windows" ]; then
|
||||||
GOARCH=${{ matrix.os == 'macos-14' && 'arm64' || 'amd64' }}
|
$env:GOOS="windows"
|
||||||
go build -v -o "${{ matrix.bin_name }}" ./...
|
$env:GOARCH="amd64"
|
||||||
|
go build -v -o "${{ matrix.bin_name }}" ./...
|
||||||
|
else
|
||||||
|
GOOS=${{ runner.os == 'macOS' && 'darwin' || 'linux' }} \
|
||||||
|
GOARCH=${{ matrix.os == 'macos-14' && 'arm64' || 'amd64' }} \
|
||||||
|
go build -v -o "${{ matrix.bin_name }}" ./...
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Create release ZIP
|
- name: Create release ZIP
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user