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: workflow_dispatch:
env: env:
GO_VERSION: "1.19" GO_VERSION: "1.19.12"
FLUTTER_VERSION: "3.10.6" FLUTTER_VERSION: "3.10.6"
permissions: permissions:
@@ -134,7 +134,7 @@ jobs:
- name: Build - name: Build
run: | run: |
go install src.techknowlogick.com/xgo@latest 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 mv libgopeed-*.dylib libgopeed.dylib
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
+1 -1
View File
@@ -17,7 +17,7 @@ on:
- "Dockerfile" - "Dockerfile"
env: env:
GO_VERSION: "1.19" GO_VERSION: "1.19.12"
permissions: permissions:
contents: write contents: write
+1 -1
View File
@@ -27,7 +27,7 @@ on:
- "go.sum" - "go.sum"
env: env:
GO_VERSION: "1.19" GO_VERSION: "1.19.12"
FLUTTER_VERSION: "3.10.6" FLUTTER_VERSION: "3.10.6"
jobs: jobs: