2323 matrix :
2424 goos : [windows, linux, darwin]
2525 goarch : [amd64, arm64]
26- buildtarget : ['go1.26.7 ']
26+ buildtarget : ['go1.27.0 ']
2727 fail-fast : false
2828 env :
2929 GOOS : ${{ matrix.goos }}
@@ -48,11 +48,11 @@ jobs:
4848 with :
4949 path : ' patch'
5050
51- # Patches for Go 1.26 .x before more minor changes introduces.
51+ # Patches for Go 1.27 .x before more minor changes introduces.
5252 - name : Apply patch
5353 run : |
5454 cd ./go
55- patch --verbose -p 1 < ../patch/go-1-26 .diff
55+ patch --verbose -p 1 < ../patch/go-1-27 .diff
5656 cd ..
5757
5858 - name : Set-up Go
@@ -129,71 +129,3 @@ jobs:
129129 file : ./go/go-for-win7-${{ env.ASSET_NAME }}.zip*
130130 tag : ${{ github.ref }}
131131 file_glob : true
132-
133- legacy :
134- runs-on : ubuntu-latest
135- permissions :
136- contents : write
137- strategy :
138- matrix :
139- buildtarget : ['go1.26.7']
140- fail-fast : false
141- steps :
142- - name : Download source
143- uses : actions/checkout@v7
144- with :
145- repository : ' golang/go'
146- ref : ${{ matrix.buildtarget }}
147- path : ' go'
148-
149- - name : Download patch
150- uses : actions/checkout@v7
151- with :
152- path : ' patch'
153-
154- - name : Apply patch
155- run : |
156- cd ./go
157- patch --verbose -p 1 < ../patch/go-1-26.diff
158- patch --verbose -p 1 < ../patch/legacy-1-26.diff
159- cd ..
160-
161- - name : Copy License
162- run : |
163- cp -f ./patch/LICENSE ./go/
164-
165- - name : Upload package to Artifacts
166- uses : actions/upload-artifact@v7
167- with :
168- name : source-legacy
169- path : |
170- ./go/*
171-
172- - name : create ZIP archive
173- if : github.event_name == 'release'
174- shell : bash
175- run : |
176- cd ./go/
177- zip -9vr ./source-legacy.zip . -x "./.*" "./.*/*" "./**/.*" "./**/.*/*" "./**/*_test.go"
178- cd ..
179-
180- - name : Compute hashes for file
181- if : github.event_name == 'release'
182- run : |
183- cd ./go/
184- FILE=./source-legacy.zip
185- DGST=$FILE.dgst
186- for METHOD in {"md5","sha1","sha256","sha512"}
187- do
188- openssl dgst -$METHOD $FILE | sed 's/([^)]*)//g' >>$DGST
189- done
190- cd ../
191-
192- - name : Upload packages to release
193- uses : svenstaro/upload-release-action@v2
194- if : github.event_name == 'release'
195- with :
196- repo_token : ${{ secrets.GITHUB_TOKEN }}
197- file : ./go/source-legacy.zip*
198- tag : ${{ github.ref }}
199- file_glob : true
0 commit comments