Skip to content

Commit 63381ec

Browse files
committed
Upgrade go and pin version of ghr
1 parent 4b726af commit 63381ec

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.circleci/config.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,17 @@ jobs:
244244
245245
build_static_lib:
246246
machine:
247-
image: ubuntu-2004:202101-01
247+
image: ubuntu-2004:2022.10.1
248248
resource_class: xlarge
249249
steps:
250+
- run:
251+
name: Check Go version # needed for ghr installation
252+
command: go version
253+
- run:
254+
name: Install ghr
255+
command: |
256+
go install github.com/tcnksm/[email protected]
257+
ghr --version
250258
- checkout
251259
- run:
252260
name: Build static library for Alpine
@@ -270,11 +278,6 @@ jobs:
270278
- when:
271279
condition: << pipeline.git.tag >>
272280
steps:
273-
- run:
274-
name: Install ghr
275-
command: |
276-
go get github.com/tcnksm/ghr
277-
ghr --version
278281
- run:
279282
name: Publish artifacts on GitHub
280283
command: |

0 commit comments

Comments
 (0)