alexellis / arkade-get Goto Github PK
View Code? Open in Web Editor NEWGet all the CLIs you need from arkade for a GitHub Action
Home Page: https://arkade.dev
License: MIT License
Get all the CLIs you need from arkade for a GitHub Action
Home Page: https://arkade.dev
License: MIT License
The action fills up our runner when run couple of time. It creates always new /tmp/arkade-* and then the storage fills up.
What can we do against that? Maybe something with #35?
@alexellis is it possible to trigger the update-tools
action manually so it pulls in the latest arkade
with the JQ fix?
Before:
- uses: alexellis/setup-arkade@v2
- uses: alexellis/arkade-get@master
with:
kubectl: latest
faas-cli: 0.14.10
- name: check for faas-cli
run: |
faas-cli version
After:
- uses: alexellis/arkade-get@master
with:
kubectl: latest
faas-cli: 0.14.10
- name: check for faas-cli
run: |
faas-cli version
Bear in mind that the bash script installer for arkade is OS and arch aware, and this needs to be kept for the arkade-get action too. At least for Linux aarch64 and amd64.
Today I learned from @rodrik, that if this setup-arkade action places its tools within the _work/_tool
directory instead of $HOME/.arkade/bin/
then these will be cached by the runner instead of being downloaded one each run.
Most pre-existing setup-xyz actions that use the GitHub JavaScript library already do this.
Flags:
--arch string CPU architecture for the tool (default "x86_64")
-h, --help help for get
--os string Operating system for the tool (default "Linux")
-o, --output string Output format of the list of tools (table/markdown/list)
--progress Display a progress bar (default true)
--quiet Suppress most additional output
--stash When set to true, stash binary in HOME/.arkade/bin/, otherwise store in /tmp/ (default true)
-v, --version string Download a specific version
We may need an additional --path
folder, or to download first to the usual location, then to move the files.
I'm open to a PR to arkade to add the flag for a custom path or ENV-var to redirect where binaries are downloaded from arkade get
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.