I had a successfully cached build, and at the next push this failure showed up.
Run haskell-actions/setup@v2
Preparing to setup a Haskell environment
Resolved ghc 9.10 to 9.10.3
Resolved cabal latest to 3.16.1.0
Resolved stack latest to 3.7.1
Preparing ghcup environment
Preparing ghc environment
node:internal/fs/promises:624
return await PromisePrototypeThen(
^
Error: ENOENT: no such file or directory, copyfile '/home/runner/work/_temp/9bff0ef5-6540-4b8b-8632-b04c9628f5d0' -> '/opt/hostedtoolcache/ghcup/0.1.50.2/x64/ghcup'
at async Object.copyFile (node:internal/fs/promises:624:10) {
errno: -2,
code: 'ENOENT',
syscall: 'copyfile',
path: '/home/runner/work/_temp/9bff0ef5-6540-4b8b-8632-b04c9628f5d0',
dest: '/opt/hostedtoolcache/ghcup/0.1.50.2/x64/ghcup'
}
Node.js v24.11.1