Skip to content

Commit

Permalink
how hard is it to get a working path
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp committed Jan 25, 2024
1 parent 139e94d commit 9a972f8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ runs:
echo "CACHE_VERSION=$(< .github/.cache_version)" >> $GITHUB_ENV
- name: Edit config for docker
if: ${{ inputs.install-node != 'true' }}
shell: bash
run: |
# only inside a container
if [[ -f /root/.profile ]]; then
source /root/.profile
echo "setting PATH: $PATH"
echo "$PATH" >> $GITHUB_PATH
git config --global --add safe.directory /__w/api-clients-automation/api-clients-automation
fi
source /root/.profile
echo "setting PATH: $PATH"
echo "$PATH" >> $GITHUB_PATH
echo "/root/.nvm/versions/node/$(cat .nvmrc)/bin" >> $GITHUB_PATH
git config --global --add safe.directory /__w/api-clients-automation/api-clients-automation
# JavaScript for monorepo and tooling
- name: Install Node
if: ${{ inputs.install-node == 'true' }}
Expand Down

0 comments on commit 9a972f8

Please sign in to comment.