Compare commits

..

3 Commits

Author SHA1 Message Date
s1d3sw1ped
5f71a5d9b8 Merge pull request 'fix again' (#3) from develop into master
Some checks failed
Build and Artifact Vulture / build (push) Failing after 1m12s
Reviewed-on: #3
2024-03-10 06:48:20 +00:00
s1d3sw1ped
9d195c7044 Merge branch 'master' into develop
Some checks failed
Build and Artifact Vulture / build (push) Failing after 1m23s
2024-03-10 06:48:07 +00:00
9c80432611 fix again
Some checks failed
Build and Artifact Vulture / build (push) Has been cancelled
2024-03-10 00:47:30 -06:00
2 changed files with 3 additions and 7 deletions

View File

@@ -18,13 +18,10 @@ jobs:
with:
go-version-file: 'go.mod'
- name: setup-dependencies
run: |
apt install mingw-w64 gcc;
run: apt install mingw-w64 gcc
- 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
- name: build-windows
run: |
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw64-gcc go build -v -ldflags="-s -w -X 'main.Version=${{github.ref_name}}'" -o bin/sw1ped-mod-switcher-${{github.ref_name}}-windows-amd64.exe
run: GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw64-gcc go build -v -ldflags="-s -w -X 'main.Version=${{github.ref_name}}'" -o bin/sw1ped-mod-switcher-${{github.ref_name}}-windows-amd64.exe

View File

@@ -31,7 +31,6 @@ jobs:
run: |
gofmt -s -l .
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
- name: Check Lint
uses: golangci/golangci-lint-action@v3
with: