fix: use $HOME to set path on Windows PowerShell

This commit is contained in:
ok-nick 2023-08-03 12:09:38 -04:00
parent 27435a1182
commit de1b18ec79
No known key found for this signature in database
GPG key ID: E6F3F722530600D2

View file

@ -53,7 +53,7 @@ runs:
- name: Set environment variable
if: runner.os == 'Windows'
run: echo "~/.aftman/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
run: echo "$HOME/.aftman/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
shell: powershell
- name: Set environment variable