Describe the bug
When I enable the cache in Linux, it fails to recover the swift installation.
To Reproduce
- I'm using a self-hosted runners, but I guess that issue should be on any runner.
- Run a workflow installing Swift with cache enabled (default)
- Wait for it to finish and ensure the cache has been created.
- Run the workflow again.
Expected behavior
The Swift should be restored from cache successfully.
Logs
/home/runner/_work/_tool/swift-6.3.2-RELEASE-ubuntu2404/6.3.2/x86_64/usr/bin/swift --version
/home/runner/_work/_tool/swift-6.3.2-RELEASE-ubuntu2404/6.3.2/x86_64/usr/bin/swift: error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory
Error: The process '/home/runner/_work/_tool/swift-6.3.2-RELEASE-ubuntu2404/6.3.2/x86_64/usr/bin/swift' failed with exit code 127
Screenshots
If applicable, add screenshots to help explain your problem.
Runner (please complete the following information):
- Name: Detected linux platform "Ubuntu" version "24.04" with arch "x64"
- OS: Linux
- Version 24.04
Describe the bug
When I enable the cache in Linux, it fails to recover the swift installation.
To Reproduce
Expected behavior
The Swift should be restored from cache successfully.
Logs
Screenshots
If applicable, add screenshots to help explain your problem.
Runner (please complete the following information):