Comments (4)
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.
@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.
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.
@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)
- 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
- Unable to use branch filter to filter "master" branch caches HOT 7
- 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.