Compare commits
4 Commits
ff5cba66de
...
60d71bd20f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
60d71bd20f | ||
|
|
3fcf6ad181 | ||
| b6f08243db | |||
| 8eb82dd204 |
@@ -19,8 +19,8 @@ jobs:
|
|||||||
go-version-file: 'go.mod'
|
go-version-file: 'go.mod'
|
||||||
- name: setup-dependencies
|
- name: setup-dependencies
|
||||||
run: |
|
run: |
|
||||||
apt update
|
apt-get update
|
||||||
apt install gcc-mingw-w64 gcc
|
apt-get install -y gcc-mingw-w64 gcc
|
||||||
|
|
||||||
- name: build-linux
|
- name: build-linux
|
||||||
run: GOOS=linux GOARCH=amd64 CGO_ENABLED=1 CC=gcc go build -v -ldflags="-s -w -X 'main.Version=${{github.ref_name}}'" -o bin/sw1ped-mod-switcher-${{github.ref_name}}-linux-amd64
|
run: GOOS=linux GOARCH=amd64 CGO_ENABLED=1 CC=gcc go build -v -ldflags="-s -w -X 'main.Version=${{github.ref_name}}'" -o bin/sw1ped-mod-switcher-${{github.ref_name}}-linux-amd64
|
||||||
|
|||||||
Reference in New Issue
Block a user