workspace

This commit is contained in:
Marco 2022-08-26 21:23:01 +08:00
parent a1562aa4c2
commit 46bf7614bf

View file

@ -18,7 +18,7 @@ jobs:
- name: Create temp files
id: secret-file1
run: |
$secretFile = Join-Path -Path $env:RUNNER_TEMP -ChildPath "lib/secret-file.txt";
$secretFile = Join-Path -Path $env:GITHUB_WORKSPACE -ChildPath "lib/secret-file.txt";
$encodedBytes = [System.Convert]::FromBase64String($env:CHANGE_NOW);
Set-Content $secretFile -Value $encodedBytes -AsByteStream;
$secretFileHash = Get-FileHash $secretFile;