fix ci stuff for other things
All checks were successful
CI / Test (pull_request) Successful in 1m36s
CI / Lint (pull_request) Successful in 1m39s
CI / Build (pull_request) Successful in 2m39s

This commit is contained in:
2024-05-20 01:58:17 -05:00
parent b2bef77f09
commit 76d8c1744a
2 changed files with 12 additions and 2 deletions

View File

@@ -20,6 +20,11 @@ jobs:
check-latest: true
cache: true
- name: Setup OS dependencies
run: |
apt-get update
apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: Install go dependencies
run: go mod tidy

View File

@@ -21,6 +21,11 @@ jobs:
check-latest: true
cache: true
- name: Setup OS dependencies
run: |
apt-get update
apt-get install -y gcc-mingw-w64 gcc libgl1-mesa-dev xorg-dev
- name: Install go dependencies
run: go mod tidy
@@ -87,7 +92,7 @@ jobs:
- name: Build for linux
run: |
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION#v}.${BUILD}-${GOOS}-${GOARCH}
fyne build --release --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION#v}.${BUILD}-${GOOS}-${GOARCH}
env:
VERSION: ${{github.ref_name}}
BUILD: ${{github.run_number}}
@@ -99,7 +104,7 @@ jobs:
- name: Build for windows
run: |
fyne build --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION#v}.${BUILD}-${GOOS}-${GOARCH}.exe
fyne build --release --os=${GOOS} --metadata BuildVersion=${VERSION} --metadata BuildNumber=${BUILD} -o bin/swiped-mod-switcher-${VERSION#v}.${BUILD}-${GOOS}-${GOARCH}.exe
env:
VERSION: ${{github.ref_name}}
BUILD: ${{github.run_number}}