-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ls: cannot access '/home/runner/cache-apt-pkgs/*.tar': No such file or directory #82
Comments
I have the same problem with another package (
Any ideas how to get this fixed? |
Sorry to hear this. Go back to v1.2.1 and confirm if this fixes it. I may revert the Also, if you bump the version input, it should reinstall and make it go away. The bug is still there though for those who don't rev their version. |
FYI, I reverted the tags. This looks like a dupe of #83 but I am going to leave open until I can confirm. |
@schlomo and @Marwennnne I believe this was from an older release awhile ago where compression was pulled since the cache actions already compresses and removing would speed it up. Bumping the input version fixes the issue. Did either of you upgrade recently? |
I tried using |
I am using The failure can be seen in the CI run for my commit bumping the cache version, which is here: greatscottgadgets/packetry@238efab |
Note that the |
Sorry, my mistake - it's fine to use However, the other info in my previous comment is correct - |
Sorry for the long lag here. To avoid other people encountering this and having to manually fix, I am going to add a feature to automatically refresh the catch when breaking changes are encountered. I'll update this issue once I have something ready. |
Okay issued a patch so this doesn't happen again. All tags are rev'd at current release. |
* Fix if condition for upload-logs step (#87) Previously the if condition was always evaluating to a truthy string (e.g. 'false == "true"' or 'true == "true"') as the string comparison (`== 'true'`) was not inside the expression syntax (`${{ }}`) and thus being treated as a string rather than being evaluated. * Introduce a force update value for reloading cache #82 --------- Co-authored-by: Leroy Hopson <github@leroy.geek.nz>
* Address block style package issue #84 #88 * Use cache key for upload artifact name #89. * Sync master back to dev. (#92) * Fix if condition for upload-logs step (#87) Previously the if condition was always evaluating to a truthy string (e.g. 'false == "true"' or 'true == "true"') as the string comparison (`== 'true'`) was not inside the expression syntax (`${{ }}`) and thus being treated as a string rather than being evaluated. * Introduce a force update value for reloading cache #82 --------- Co-authored-by: Leroy Hopson <github@leroy.geek.nz> --------- Co-authored-by: Leroy Hopson <github@leroy.geek.nz>
My problem is quite simple actually when I used this method to cache the package
vault
. it was compressed into this filevault:1.12.2-1.tar.gz
so when this method tries to fetch all the compressed packages it won't find it since the search command iscached_pkg_filepaths=$(ls -1 "${cache_dir}"/*.tar | sort)
The text was updated successfully, but these errors were encountered: