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