From f1e9961bdd94a7014f26b4e3a8d4c5a923e7fb3f Mon Sep 17 00:00:00 2001 From: Justin Harms Date: Sun, 10 Mar 2024 00:53:11 -0600 Subject: [PATCH] mingw was not found might need to apt update first --- .gitea/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index d1d05b8..1effbfc 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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