Giter VIP home page Giter VIP logo

Comments (4)

bishal-pdMSFT avatar bishal-pdMSFT commented on August 19, 2024 1

We do plan to have a more sophisticated tabular data printer. However given other things it may take a few weeks for us to get there.

In the meanwhile using APIs seems like a useful though inconvenient work-around.

from gh-actions-cache.

rplankenhorn avatar rplankenhorn commented on August 19, 2024 1

@hankei6km @bishal-pdMSFT Another workaround I found was to just decrease the zoom considerable on your terminal and then run the command again. I get the full key when doing this.

from gh-actions-cache.

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

Hi @hankei6km we now support a new table printer that allows users to pipe output for further processing. If you want to list down certain columns without trimming then just select the column number in the below command.

gh actions-cache list -R <owner>/<repo_name> | cut -f 1,2,3

This will print columns 1,2 and 3 without any trimming.

You can also refer to this doc where we explain how to automate the deletion of cache for any branch. Force deleting cache entries

from gh-actions-cache.

hankei6km avatar hankei6km commented on August 19, 2024

@t-dedah I tried the latest version(v1.0.3).
I was able to see cache keys in full length.

$ gh actions-cache list --limit 10 --key "Windows"
Showing 2 of 2 cache entries in hankei6km/xquo

Windows-install-f55c7f933...  171.66 MB  refs/heads/main              a day ago
Windows-install-f55c7f933...  171.60 MB  refs/heads/dependabot/ca...  4 days ago

$ gh actions-cache list --limit 10 --key "Windows" | cut -f 1
Windows-install-f55c7f9330655b32c91858cedc1df6af68fb939379268f75dd3209a48b5b776a
Windows-install-f55c7f9330655b32c91858cedc1df6af68fb939379268f75dd3209a48b5b776a

You can also refer to this doc where we explain how to automate the deletion of cache for any branch. Force deleting cache entries

This is a great use case!

However, the sample seems to have some fixes.
github/docs#22727

I'll study it in my repository too.
https://github.com/hankei6km/test-cleanup-caches-by-branch

Thank you for the great features and information.

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.