please
Some checks failed
CI / Lint (push) Successful in 53s
CI / Test (push) Successful in 3m5s
CI / Build (push) Failing after 1m56s

This commit is contained in:
2024-03-11 11:45:17 -05:00
parent e37e629630
commit 4924466a93

View File

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