-
-
Notifications
You must be signed in to change notification settings - Fork 61
Description
i think the problem itself is well understood:
Error: install-action v2 does not support semver pre-release and build-metadata: '0.2.0-rc1'; if you need these supports again, please submit an issue at https://github.com/taiki-e/install-action
Here's our use case:
We're using this action for installing tools for testing packages in the Typst ecosystems. Since Typst is pre-1.0, there are still often breaking changes that the package ecosystem has to adapt to, and being able to easily and early test when a Typst prerelease is available is thus important, to encourage package authors to be proactive.
A PR for supporting this was made here: typst-community/typst-package-template#31. There's an action typst-setup due to which Typst itself is not affected, but the testing tool tytanic is installed via install-action, and it reasonable only supports the Typst RC in a RC of its own. The workaround is to use the cache-cargo-install-action, but this is slower (before caching) and requires explicit support, instead of simply working with our existing setup.
So in short: we want to test packages on release candidates, the tool doing so supports RCs only on its own RCs, and if install-action supported RCs we wouldn't have to conditionally use different actions based on whether we're working with an RC.
I'd really appreciate it if it's not super hard to (re?) add support for this, thanks!