Skip to content

Commit

Permalink
ci: use $HOME instead of tilde expansion
Browse files Browse the repository at this point in the history
Tilde expansion does not work within quotes, and in general we want
quotes to avoid potential word splitting.
  • Loading branch information
paride committed Feb 19, 2024
1 parent 01ac1a7 commit 51d45ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
env:
GCE_CREDENTIALS_JSON: ${{ secrets.GCE_CREDENTIALS_JSON }}
PYCLOUDLIB_TOML: ${{ secrets.PYCLOUDLIB_TOML }}
GCE_CREDENTIALS_PATH: ~/.config/gce_credentials
GCE_CREDENTIALS_PATH: $HOME/.config/gce_credentials
run: |
ssh-keygen -P "" -q -f ~/.ssh/cloudinit_id_rsa
mkdir -p ~/.config
Expand Down

0 comments on commit 51d45ba

Please sign in to comment.