Skip to content

Commit 6f6d33e

Browse files
committed
fix release workflow
1 parent 2b7f3ae commit 6f6d33e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
sudo apt-get install libwayland-dev libwayland-egl++ wayland-scanner++
6161
6262
- name: Install Go
63-
uses: actions/setup-go@v1
63+
uses: actions/setup-go@v3
6464
with:
6565
go-version: ${{ matrix.go-version }}
6666

@@ -171,7 +171,7 @@ jobs:
171171
needs: [check-new-commit]
172172
strategy:
173173
matrix:
174-
go-version: [1.20.x]
174+
go-version: [1.20.6]
175175
platform: [windows-latest]
176176
qtversion: [5.14.1]
177177
runs-on: ${{ matrix.platform }}
@@ -198,8 +198,8 @@ jobs:
198198
- name: Install Go
199199
continue-on-error: true
200200
run: |
201-
curl -sL --retry 10 --retry-delay 60 -O https://dl.google.com/go/go1.18.5.windows-amd64.zip
202-
expand-archive -path go1.20.6.windows-amd64.zip -destinationpath .
201+
curl -sL --retry 10 --retry-delay 60 -O https://dl.google.com/go/go${{ matrix.go-version }}.windows-amd64.zip
202+
expand-archive -path go${{ matrix.go-version }}.windows-amd64.zip -destinationpath .
203203
Move-Item -Path go -Destination C:\go-root
204204
205205
- name: Setup MSYS2 and install Qt5
@@ -329,7 +329,7 @@ jobs:
329329
steps:
330330

331331
- name: Install Go
332-
uses: actions/setup-go@v1
332+
uses: actions/setup-go@v3
333333
with:
334334
go-version: ${{ matrix.go-version }}
335335

0 commit comments

Comments
 (0)