Skip to content

Commit

Permalink
Merge pull request #4 from steve-todorov/issues/3
Browse files Browse the repository at this point in the history
Cleanup cache path before moving the exe file
  • Loading branch information
AnimMouse authored Mar 24, 2023
2 parents d15cea3 + 6c3c883 commit c84c6b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install/Windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ $ErrorActionPreference = 'Stop'
Set-StrictMode -Version Latest
Write-Host ::group::Installing $env:folder_name to tool cache
New-Item $env:RUNNER_TOOL_CACHE\$env:folder_name\ -ItemType Directory -Force
Move-Item $env:RUNNER_TEMP\$env:folder_name\* $env:RUNNER_TOOL_CACHE\$env:folder_name\
Move-Item $env:RUNNER_TEMP\$env:folder_name\* $env:RUNNER_TOOL_CACHE\$env:folder_name -Force
Write-Host ::endgroup::

0 comments on commit c84c6b5

Please sign in to comment.