please
Some checks failed
CI / Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Build (push) Failing after 1m58s

This commit is contained in:
2024-03-10 21:56:40 -05:00
parent 17b0d9f72e
commit ee19aadac9

View File

@@ -89,27 +89,14 @@ jobs:
run: | run: |
go mod tidy go mod tidy
- name: Build for linux - name: Build
run: | 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: env:
VERSION: ${{github.ref_name}} VERSION: ${{github.ref_name}}
BUILD: ${{github.run_number}} BUILD: ${{github.run_number}}
GOOS: linux
GOARCH: amd64
CGO_ENABLED: 1 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 - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3