please
This commit is contained in:
@@ -91,25 +91,23 @@ jobs:
|
||||
|
||||
- name: Build for linux
|
||||
run: |
|
||||
fyne package --os ${{GOOS}} --release --appVersion=${VERSION#v} --appBuild=${BUILD} --exe bin/sw1ped-mod-switcher-${VERSION#v}.${BUILD}-linux-amd64 main.go
|
||||
fyne package --release --appVersion=${VERSION#v} --appBuild=${BUILD} --exe bin/sw1ped-mod-switcher-${VERSION#v}.${BUILD}-${GOOS}-${GOARCH} main.go
|
||||
env:
|
||||
VERSION: ${{github.ref_name}}
|
||||
BUILD: ${{github.run_number}}
|
||||
GOOS: linux
|
||||
GOARCH: amd64
|
||||
EXE: ""
|
||||
CGO_ENABLED: 1
|
||||
CC: gcc
|
||||
|
||||
- name: Build for windows
|
||||
run: |
|
||||
fyne package --os ${{GOOS}} --release --appVersion=${VERSION#v} --appBuild=${BUILD} --exe bin/sw1ped-mod-switcher-${VERSION#v}.${BUILD}-windows-amd64.exe main.go
|
||||
fyne package --release --appVersion=${VERSION#v} --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
|
||||
EXE: .exe
|
||||
CGO_ENABLED: 1
|
||||
CC: x86_64-w64-mingw32-gcc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user