Skip to content

Commit

Permalink
Prefer go install for ghr
Browse files Browse the repository at this point in the history
Modern go version have hard deprecated `go get` outside of modules:
```
go: go.mod file not found in current directory or any parent directory.
	'go get' is no longer supported outside a module.
	To build and install a command, use 'go install' with a version,
	like 'go install example.com/cmd@latest'
	For more information, see https://golang.org/doc/go-get-install-deprecation
	or run 'go help get' or 'go help install'.
```
  • Loading branch information
sgerrand authored Apr 13, 2023
1 parent 793ce8c commit 79194d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ references:
upload-packages: &upload-packages
run:
command: apk add --no-cache git openssh-client
name: Install dependencies of go get
name: Install dependencies of go install
upload-ghr: &upload-ghr
run:
command: go get github.com/tcnksm/ghr
command: go install github.com/tcnksm/ghr@latest
name: Install ghr executable
jobs:
build:
Expand Down

0 comments on commit 79194d6

Please sign in to comment.