mingw was not found might need to apt update first
Some checks failed
Build and Artifact Vulture / build (push) Failing after 35s
PR Validation / Build and Test Vulture (pull_request) Failing after 44s

This commit is contained in:
2024-03-10 00:53:11 -06:00
parent e75f77be7f
commit f1e9961bdd

View File

@@ -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