Giter VIP home page Giter VIP logo

Comments (7)

t-dedah avatar t-dedah commented on July 19, 2024 1

Thank you @maishiroma for the clarification. We are investigating this issue atm.

from gh-actions-cache.

t-dedah avatar t-dedah commented on July 19, 2024

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.

maishiroma avatar maishiroma commented on July 19, 2024

@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.

t-dedah avatar t-dedah commented on July 19, 2024

@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.

maishiroma avatar maishiroma commented on July 19, 2024

@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.

t-dedah avatar t-dedah commented on July 19, 2024

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.

t-dedah avatar t-dedah commented on July 19, 2024

Hi @maishiroma closing issue for now, feel free to reopen if you are still facing this issue.

from gh-actions-cache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.