Change PATH to $HOME/.local/bin for GitHub Actions
PATH in GitHub Actions: /opt/hostedtoolcache/go/1.19.10/x64/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PATH in CircleCI: /home/circleci/go/bin:/usr/local/go/bin:/home/circleci/bin:/home/circleci/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
This commit is contained in:
parent
0c9b09ea77
commit
6c0552e182
5
Makefile
5
Makefile
@ -20,11 +20,10 @@ ci-static-analysis:
|
||||
golangci-lint run
|
||||
|
||||
ci-install-go-tools:
|
||||
echo ${PATH}
|
||||
curl -sfL https://goreleaser.com/static/run > ${HOME}/bin/goreleaser
|
||||
curl -sfL https://goreleaser.com/static/run > ${HOME}/.local/bin/goreleaser
|
||||
|
||||
ci-install-ci-tools:
|
||||
curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sudo sh -s -- -b ${HOME}/bin/ "v0.122.0"
|
||||
curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sudo sh -s -- -b ${HOME}/.local/bin/ "v0.122.0"
|
||||
|
||||
ci-docker-login:
|
||||
echo '${DOCKER_PASSWORD}' | docker login -u '${DOCKER_USERNAME}' --password-stdin '${PRODUCTION_REGISTRY}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user