CircleCI-Public / gcp-cli-orb

Install and configure the Google Cloud CLI (gcloud)
https://circleci.com/orbs/registry/orb/circleci/gcp-cli
MIT License
9 stars 32 forks source link

fix: change installation path #63

Closed EricRibeiro closed 1 year ago

EricRibeiro commented 1 year ago

Checklist

Motivation, issues

Directory (/home/circleci/project) you are trying to checkout to is not empty and not a git repository

Description

This PR changes the installation directory from ~/project to a temporary folder created with mktemp. I opted out of using /usr/local, /usr/bin and /opt because these require root permission for changes, adding a hard dependency on sudo for Alpine.