Comments (7)
Thank you @maishiroma for the clarification. We are investigating this issue atm.
from gh-actions-cache.
Hi @maishiroma --branch master
will look for a ref in your repo with name refs/heads/master
. But the result for gh actions-cache list --sort last-used --order desc -R myorg/myrepo
is showing just master
whereas it should be refs/heads/master
.
Can you share a list of all the refs in your repo using this git show-ref
?
from gh-actions-cache.
@t-dedah Thanks for the reply! Of course, this is what I get after running git show-ref
(truncated output since there's a lot of branches in the repository I'm working in)
$ git show-ref
4370801df649feb67cfa3997edef107e49b220be refs/heads/master
250f3e68b1edc3dbbd8a2f99e751d0d4f72e02c3 refs/heads/ms/cache_update_5
4370801df649feb67cfa3997edef107e49b220be refs/remotes/origin/HEAD
153d5c0b400ce631e244a8ac32cb3319430d395e refs/stash
3316f360d159733afb09893b27c3d0ea47296fea refs/tags/3.2.4
ed27ffa15654d4e004f2e2aad1344009e818b709 refs/tags/3.0.22
...
One more thing that I wanted to point out is that when you suggested
--branch master will look for a ref in your repo with name refs/heads/master
I went ahead and tried to use --branch refs/heads/master
in the gh actions-cache list
command, and it unfortunatly did not yield any new outputs.
$ gh actions-cache list --branch refs/heads/master
There are no Actions caches currently present in this repo or for the provided filters
from gh-actions-cache.
@maishiroma So you have refs/heads/master
which is good but not getting any data for --branch refs/heads/master
still doesnt get us close to the issue. This just means we have no caches for refs/heads/master
which is expected as shown in the result of gh actions-cache list --sort last-used --order desc -R myorg/myrepo
.
Can you please scroll through the list of git show-ref
and confirm if you have any ref with just master
.
from gh-actions-cache.
@t-dedah Ah my apologies, I should have clarified in my earlier comment when I ran git show-ref
in my repository.
When running that command, I did not see any references named master
. The closest one were refs/heads/master
and refs/remotes/origin/master
.
from gh-actions-cache.
Hi @maishiroma In order to dig further, will it be possible for you to share workflow run logs that lead to the creation of the said cache?
from gh-actions-cache.
Hi @maishiroma closing issue for now, feel free to reopen if you are still facing this issue.
from gh-actions-cache.
Related Issues (20)
- Clarify how remote is selected HOT 2
- restore-keys: | npm-feature-${{ hashFiles('package-lock.json') }} npm-feature- npm- HOT 2
- violethaze74-gh-cli
- Ability to list cache content HOT 3
- v1.0.2 requires a version of glibc that is not available on the current 'ubuntu-latest' Github runner HOT 10
- Return the empty caches message as error log, not standard log
- This is a great tool, but I'd also like to see a way to do the same with repo artifacts HOT 4
- Add date filter
- List caches not in specified branch list HOT 1
- Tests don't pass when executed from tarball HOT 1
- Support for GitHub Enterprise Server HOT 1
- version `GLIBC_2.32' not found on Debian bullseye HOT 7
- "Add support for secure token storage" HOT 4
- filter output column to print only cache entry key
- Feature: delete --ignore-not-found
- Feature request: Pagination support
- Error: authentication token not found for host github.com HOT 6
- Title HOT 3
- Document that `actions: read/write` permissions are required to use gh-actions-cache in gh actions CI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gh-actions-cache.