diff --git a/.gitea/workflows/push-ci.yaml b/.gitea/workflows/push-ci.yaml index ee6eff4..ccf6a23 100644 --- a/.gitea/workflows/push-ci.yaml +++ b/.gitea/workflows/push-ci.yaml @@ -89,27 +89,14 @@ jobs: run: | go mod tidy - - name: Build for linux + - name: Build run: | - fyne package --appBuild=${BUILD} --exe bin/sw1ped-mod-switcher-${VERSION#v}.${BUILD}-${GOOS}-${GOARCH} main.go + GOOS=linux GOARCH=amd64 CC=gcc fyne package --appBuild=${BUILD} --exe bin/swiped-mod-switcher-${VERSION#v}.${BUILD}-windows-amd64 main.go + GOOS=windows GOARCH=amd64 CC=gcc fyne package --appBuild=${BUILD} --exe bin/swiped-mod-switcher-${VERSION#v}.${BUILD}-windows-amd64.exe main.go env: VERSION: ${{github.ref_name}} BUILD: ${{github.run_number}} - GOOS: linux - GOARCH: amd64 CGO_ENABLED: 1 - CC: gcc - - - name: Build for windows - run: | - fyne package --appBuild=${BUILD} --exe bin/sw1ped-mod-switcher-${VERSION#v}.${BUILD}-${GOOS}-${GOARCH}.exe main.go - env: - VERSION: ${{github.ref_name}} - BUILD: ${{github.run_number}} - GOOS: windows - GOARCH: amd64 - CGO_ENABLED: 1 - CC: x86_64-w64-mingw32-gcc - name: Upload artifact uses: actions/upload-artifact@v3