From 4924466a938fcc1ca115a4a5a44e00e7bf97404d Mon Sep 17 00:00:00 2001 From: Justin Harms Date: Mon, 11 Mar 2024 11:45:17 -0500 Subject: [PATCH] please --- .gitea/workflows/push-ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/push-ci.yaml b/.gitea/workflows/push-ci.yaml index 7ae384a..a2a3063 100644 --- a/.gitea/workflows/push-ci.yaml +++ b/.gitea/workflows/push-ci.yaml @@ -91,15 +91,15 @@ jobs: - name: Build run: | + mkdir bin2/ mkdir bin/ - GOOS=linux GOARCH=amd64 CC=gcc fyne package --appBuild=${BUILD} --exe bin2/swiped-mod-switcher-${VERSION#v}.${BUILD}-linux-amd64 main.go + GOOS=linux GOARCH=amd64 CGO_ENABLED=1 CC=gcc fyne package -os=linux -appBuild=${BUILD} -exe bin2/swiped-mod-switcher-${VERSION#v}.${BUILD}-linux-amd64 main.go mv bin2/* bin/ - GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc fyne package --appBuild=${BUILD} --exe bin2/swiped-mod-switcher-${VERSION#v}.${BUILD}-windows-amd64.exe main.go + GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc fyne package -os=windows -appBuild=${BUILD} -exe bin2/swiped-mod-switcher-${VERSION#v}.${BUILD}-windows-amd64.exe main.go mv bin2/* bin/ env: VERSION: ${{github.ref_name}} BUILD: ${{github.run_number}} - CGO_ENABLED: 1 - name: Upload artifact uses: actions/upload-artifact@v3