From 6c0552e1820e6e0629fc40d8218800fddfcde0b6 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Thu, 6 Jul 2023 06:53:07 +0300 Subject: [PATCH] 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 --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1001ff7..127c0e4 100644 --- a/Makefile +++ b/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}'