https://github.com/ynab/asdf-action
GitHub Action that installs and configures asdf (>= 0.16)
https://github.com/ynab/asdf-action
Last synced: 5 months ago
JSON representation
GitHub Action that installs and configures asdf (>= 0.16)
- Host: GitHub
- URL: https://github.com/ynab/asdf-action
- Owner: ynab
- License: mit
- Created: 2025-02-12T14:21:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-18T14:55:04.000Z (over 1 year ago)
- Last Synced: 2025-06-15T21:15:34.586Z (about 1 year ago)
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# asdf GitHub Action
GitHub Action that installs and configures [asdf](https://asdf-vm.com/) version >= 0.16. Cache is used when possible to speed up the install.
Only the asdf binary is installed. You will need to install any needed asdf plugins and then run `asdf install` to actually install all your runtimes defined in your `.tool-versions` file.
This action supports Linux (AMD) and macOS (ARM) runners.
## Example usage
```yaml
- name: Install asdf
uses: ynab/asdf-action@v1.2
with:
version: 0.16.2
- name: Checkout code which includes a .tool-versions file in root
uses: actions/checkout@v4
- name: Install asdf runtimes
run: |
asdf plugin add nodejs
asdf install
```