asdf-vm / asdf-vm/actions

Unable to install latests versions of packages

Open
#600 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
163
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Previously, we successfully used `asdf-vm/actions/install` to install latest versions of packages, using the following syntax

```yml
- uses: asdf-vm/actions/install@05e0d2ed97b598bfce82fd30daf324ae0c4570e6
with:
tool_versions: |
latest
```

However, on `v4` version of the action, which uses new asdf it is impossible to do so. It prevents using `asdf-vm/actions/install` action to install latest versions of packages.

The same problem exists in the `asdf` itself (having ` latest` in `.tool-versions` fails on `asdf install`) but it's less impactful there as the "latest" syntax is still working in the command line.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the v4 `asdf-vm/actions/install` workflow with `tool_versions` set to ` latest`, then compare it with the working command-line behavior and the failing `.tool-versions` case. Done means the action can again install the latest package version using the documented syntax.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, javascript
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.