Does this action reuse pre-installed versions of GHC and Cabal? · Issue #119 · haskell-actions/setup · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run cabal --version
cabal-install version 3.14.1.1
compiled using version 3.14.1.1 of the Cabal library
but
Resolved cabal latest to 3.14.1.1
Preparing ghc environment
Installing ghc version 9.8.4
Preparing cabal environment
Installing cabal version 3.14.1.1
/opt/hostedtoolcache/ghcup/0.1.50.1/x64/ghcup whereis cabal 3.14.1.1
[ Error ] [�
Attempting to access tool cabal at location /opt/cabal/3.14/bin
Failed to access tool cabal at location /opt/cabal/3.14/bin
Attempting to access tool cabal at location /home/runner/.ghcup/bin
Succeeded accessing tool cabal at location /home/runner/.ghcup/bin
/opt/hostedtoolcache/ghcup/0.1.50.1/x64/ghcup set cabal 3.14.1.1
[ Error ] [�
/opt/hostedtoolcache/ghcup/0.1.50.1/x64/ghcup unset cabal
[ Info ] Cabal successfully unset
Attempting to install cabal 3.14.1.1 using ghcup
/opt/hostedtoolcache/ghcup/0.1.50.1/x64/ghcup install cabal 3.14.1.1
[ Info ] downloading: https://downloads.haskell.org/~ghcup/unofficial-bindists/cabal/3.14.1.1/cabal-install-3.14.1.1-x86_64-linux-ubuntu22.04.tar.xz as file /usr/local/.ghcup/tmp/ghcup-4e6b75f5cebe0ee4/cabal-install-3.14.1.1-x86_64-linux-ubuntu22.04.tar.xz
It appears that the requested version match the pre-installed version, but then ghcup is still downloading and re-installing the same Cabal version. Am I reading this wrong? Or is this possibly a bug?
If you want to dig into this issue, very welcome!
One could maybe start with logging which versions are in the tool cache, using tc.findAllVersions('cabal') etc.
Uh oh!
There was an error while loading. Please reload this page.
The README says:
But check out this workflow run:
but
It appears that the requested version match the pre-installed version, but then
ghcup
is still downloading and re-installing the same Cabal version. Am I reading this wrong? Or is this possibly a bug?Workflow file (not quite minimal)
The text was updated successfully, but these errors were encountered: