Skip to content

Commit

Permalink
proper vars
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings authored Sep 30, 2024
1 parent 1b62c61 commit 14e32b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testdriver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ jobs:
key: ${{ secrets.DASHCAM_API }}
prerun: |
$headers = @{
Authorization = "token $env:GITHUB_TOKEN"
Authorization = "token ${{ secrets.GITHUB_TOKEN }}"
}
mkdir -p download
Invoke-WebRequest -Uri "https://api.github.com/repos/$env:GITHUB_REPOSITORY/actions/runs/$env:GITHUB_RUN_ID/artifacts/windows-exe" `
Invoke-WebRequest -Uri "https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/windows-exe" `
-Headers $headers `
-OutFile "./download/waveterm.exe" `
-MaximumRedirection 5
Expand Down

0 comments on commit 14e32b7

Please sign in to comment.