Skip to content

Commit

Permalink
Clean up Go install from previous runs
Browse files Browse the repository at this point in the history
Seems like there is some bug in the setup-go action.
  • Loading branch information
EduardGomezEscandell committed Sep 19, 2023
1 parent 2d279b0 commit d82d76d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/qa-azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@ jobs:
uses: Ubuntu/WSL/.github/actions/wsl-install@main
with:
distro: "Ubuntu-Preview"
- name: Clean up Go
shell: powershell
# For some reason, this file interferes with setup-go
run: |
$p = 'C:\actions-runner\_work\_tool\go'
if ( Test-Path -Path "${p}" ) {
Write-Output "Removing old Go install"
Remove-Item -Recurse -Path "${p}"
}
- name: Set up Go
uses: actions/setup-go@v4
with:
Expand Down

0 comments on commit d82d76d

Please sign in to comment.