really fyne why is version so specific

This commit is contained in:
2024-03-10 13:47:37 -05:00
parent 6630747d65
commit d10d83dd05
3 changed files with 20 additions and 14 deletions

View File

@@ -12,10 +12,12 @@ jobs:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
- name: setup go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: setup dependencies
@@ -37,7 +39,7 @@ jobs:
GOFLAGS="-ldflags=-s -ldflags=-w"
CGO_ENABLED=1
CC=gcc
fyne package --appVersion=${VERSION} --appBuild=${BUILD} --exe bin/swiped-mod-switcher-${VERSION}.${BUILD}-linux-amd64 main.go
fyne package --appVersion=${VERSION#v} --appBuild=${BUILD} --exe bin/swiped-mod-switcher-${VERSION}.${BUILD}-linux-amd64 main.go
- name: run tests
run: go test -v ./...
- name: Check Vet