ci: fix go version

This commit is contained in:
liwei committed 2023-10-17 10:26:21 +08:00
1 parent 39d1028ee9
commit 6316e9986a
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ on:
workflow_dispatch:
env:
GO_VERSION: "1.19"
GO_VERSION: "1.19.12"
FLUTTER_VERSION: "3.10.6"
permissions:
@@ -134,7 +134,7 @@ jobs:
- name: Build
run: |
go install src.techknowlogick.com/xgo@latest
xgo -go go-$GO_VERSION.x --targets=darwin/arm64 -tags="nosqlite" -ldflags="-w -s" -buildmode=c-shared -pkg=bind/desktop -out=libgopeed .
xgo -go go-1.19.x --targets=darwin/arm64 -tags="nosqlite" -ldflags="-w -s" -buildmode=c-shared -pkg=bind/desktop -out=libgopeed .
mv libgopeed-*.dylib libgopeed.dylib
- uses: actions/upload-artifact@v3
with:
+1 -1
View File
@@ -17,7 +17,7 @@ on:
- "Dockerfile"
env:
GO_VERSION: "1.19"
GO_VERSION: "1.19.12"
permissions:
contents: write
+1 -1
View File
@@ -27,7 +27,7 @@ on:
- "go.sum"
env:
GO_VERSION: "1.19"
GO_VERSION: "1.19.12"
FLUTTER_VERSION: "3.10.6"
jobs: