-
Notifications
You must be signed in to change notification settings - Fork 593
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
EEXIST on windows when adding to cache.
Setup go version spec 1.17
Attempting to download 1.17...
matching 1.17...
Acquiring 1.17.13 from https://github.com/actions/go-versions/releases/download/1.17.13-2779743212/go-1.17.13-win32-x64.zip
Extracting Go...
C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath 'D:\Users\cloudwego\actions-runner\_work\_temp\go-1.17.13-win32-x64.zip' -DestinationPath 'D:\Users\cloudwego\actions-runner\_work\_temp\7aab9b3[8](https://github.com/cloudwego/hertz/actions/runs/13171441602/job/36766483015#step:3:9)-3551-4f2b-8256-964286efbe30' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('D:\Users\cloudwego\actions-runner\_work\_temp\go-1.17.13-win32-x64.zip', 'D:\Users\cloudwego\actions-runner\_work\_temp\7aab[9](https://github.com/cloudwego/hertz/actions/runs/13171441602/job/36766483015#step:3:10)b38-3551-4f2b-8256-964286efbe30', $true) }"
Successfully extracted go to D:\Users\cloudwego\actions-runner\_work\_temp\7aab9b38-3551-4f2b-8256-964286efbe30
Adding to the cache ...
EEXIST: file already exists, symlink 'D:\Users\cloudwego\actions-runner\_work\_tool\go\1.17.13\x64' -> 'D:\Users\cloudwego\actions-runner\_work\_tool\go\1.17.13\x64'
Falling back to download directly from Go
Install from dist
Acquiring go1.17.13 from https://storage.googleapis.com/golang/go1.17.13.windows-amd64.zip
Extracting Go...
C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath 'D:\Users\cloudwego\actions-runner\_work\_temp\go1.17.[13](https://github.com/cloudwego/hertz/actions/runs/13171441602/job/36766483015#step:3:14).windows-amd64.zip' -DestinationPath 'D:\Users\cloudwego\actions-runner\_work\_temp\7ce9b72f-9f68-4f76-aa7f-f1f7b8fffbf6' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('D:\Users\cloudwego\actions-runner\_work\_temp\go1.17.13.windows-amd64.zip', 'D:\Users\cloudwego\actions-runner\_work\_temp\7ce9b72f-9f68-4f76-aa7f-f1f7b8fffbf6', $true) }"
Successfully extracted go to D:\Users\cloudwego\actions-runner\_work\_temp\7ce9b72f-9f68-4f76-aa7f-f1f7b8fffbf6
Adding to the cache ...
Error: Failed to download version 1.[17](https://github.com/cloudwego/hertz/actions/runs/13171441602/job/36766483015#step:3:18): Error: EEXIST: file already exists, symlink 'D:\Users\cloudwego\actions-runner\_work\_tool\go\1.17.13\x64' -> 'D:\Users\cloudwego\actions-runner\_work\_tool\go\1.17.13\x64'
Action version:
actions/setup-go@v5
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
go1.17
Repro steps:
https://github.com/cloudwego/hertz/actions/runs/13171441602/job/36766483015
Expected behavior:
no error
Actual behavior:
error with EEXIST
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working