From 46bf7614bf649811cbed0ad7b7c146195d9fa15f Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 26 Aug 2022 21:23:01 +0800 Subject: [PATCH] workspace --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 843413a1b..e81b0a355 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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;