Skip to content

Commit 98ff02c

Browse files
Sync: Add a Windows 7 build (XTLS/XTLS#3530)
1 parent 0ec81d1 commit 98ff02c

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/customized-builder.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
goos: [dragonfly, illumos, netbsd, plan9, solaris]
5959
goarch: [amd64]
6060
goamd64: [v1, v2, v3, v4]
61+
gotoolchain: [""]
62+
patch-assetname: [""]
63+
6164
include:
6265
# BEIGIN AIX
6366
- goos: aix
@@ -102,16 +105,18 @@ jobs:
102105
with:
103106
ref: main
104107

105-
- name: Show workflow information
108+
- name: Show workflow information
106109
run: |
110+
_NAME=${{ matrix.patch-assetname }}
111+
[ -n "$_NAME" ] || _NAME="$GOOS-$GOARCH$GOAMD64$GOPPC64"
107112
export _NAME="$GOOS-$GOARCH$GOAMD64$GOPPC64"
108113
echo "GOOS: $GOOS, GOARCH: $GOARCH, GOAMD64: $GOAMD64, GOPPC64: $GOPPC64, RELEASE_NAME: $_NAME"
109114
echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV
110115
111116
- name: Set up Go
112117
uses: actions/setup-go@v5
113118
with:
114-
go-version-file: go.mod
119+
go-version: ${{ matrix.gotoolchain || '1.22' }}
115120
check-latest: true
116121

117122
- name: Get project dependencies

0 commit comments

Comments
 (0)