mirror of
https://github.com/pikami/cosmium.git
synced 2025-10-13 15:26:00 +01:00
Downgrade Go to 1.24.7 due to windows cross-compile issue
This commit is contained in:
parent
a3bea16a26
commit
03cd04e996
@ -15,7 +15,7 @@ jobs:
|
|||||||
uses: crazy-max/ghaction-xgo@e22d3c8b089adba750d5a74738b8e95d96f0c991 # v3.1.0
|
uses: crazy-max/ghaction-xgo@e22d3c8b089adba750d5a74738b8e95d96f0c991 # v3.1.0
|
||||||
with:
|
with:
|
||||||
xgo_version: latest
|
xgo_version: latest
|
||||||
go_version: 1.25.1
|
go_version: 1.24.7
|
||||||
dest: dist
|
dest: dist
|
||||||
pkg: sharedlibrary
|
pkg: sharedlibrary
|
||||||
prefix: cosmium
|
prefix: cosmium
|
||||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -21,13 +21,13 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.25.1
|
go-version: 1.24.7
|
||||||
|
|
||||||
- name: Cross-Compile with xgo
|
- name: Cross-Compile with xgo
|
||||||
uses: crazy-max/ghaction-xgo@e22d3c8b089adba750d5a74738b8e95d96f0c991 # v3.1.0
|
uses: crazy-max/ghaction-xgo@e22d3c8b089adba750d5a74738b8e95d96f0c991 # v3.1.0
|
||||||
with:
|
with:
|
||||||
xgo_version: latest
|
xgo_version: latest
|
||||||
go_version: 1.25.1
|
go_version: 1.24.7
|
||||||
dest: sharedlibrary_dist
|
dest: sharedlibrary_dist
|
||||||
pkg: sharedlibrary
|
pkg: sharedlibrary
|
||||||
prefix: cosmium
|
prefix: cosmium
|
||||||
|
2
Makefile
2
Makefile
@ -9,7 +9,7 @@ SERVER_LOCATION=./cmd/server
|
|||||||
SHARED_LIB_LOCATION=./sharedlibrary
|
SHARED_LIB_LOCATION=./sharedlibrary
|
||||||
SHARED_LIB_OPT=-buildmode=c-shared
|
SHARED_LIB_OPT=-buildmode=c-shared
|
||||||
XGO_TARGETS=linux/amd64,linux/arm64,windows/amd64,windows/arm64,darwin/amd64,darwin/arm64
|
XGO_TARGETS=linux/amd64,linux/arm64,windows/amd64,windows/arm64,darwin/amd64,darwin/arm64
|
||||||
GOVERSION=1.25.1
|
GOVERSION=1.24.7
|
||||||
|
|
||||||
DIST_DIR=dist
|
DIST_DIR=dist
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user