mingw was not found might need to apt update first
This commit is contained in:
@@ -18,7 +18,9 @@ jobs:
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
- name: setup-dependencies
|
||||
run: apt install mingw-w64 gcc
|
||||
run: |
|
||||
apt update
|
||||
apt install mingw-w64 gcc
|
||||
|
||||
- name: build-linux
|
||||
run: GOOS=linux GOARCH=amd64 CGO_ENABLED=1 CC=gcc go build -v -ldflags="-s -w -X 'main.Version=${{github.ref_name}}'" -o bin/sw1ped-mod-switcher-${{github.ref_name}}-linux-amd64
|
||||
|
||||
Reference in New Issue
Block a user