You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current release of the Dioxus CLI uses a different release tag naming scheme than that used for the previous GitHub Releases. This breaks the pattern set in the Cargo.toml, meaning cargo-binstall cannot find the binaries and falls back to the standard cargo install procedure.
Steps To Reproduce
Steps to reproduce the behavior:
Create a new GitHub Actions workflow with the following:
Check this into the main branch of a dummy repository and the action should automatically run
You will see that rather than install the pre-built binaries, the action compiles from source code.
Expected behavior
When running cargo-binstall or a GitHub Action like taiki-e/install-action which uses cargo-binstall under the hood to install Dioxus CLI v0.4.1 or later, the pre-built binaries should be installed rather than re-compiling the CLI from source.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
Dioxus version: v0.4.1
Rust version: 1.71.0
OS info: Ubuntu 22.04
App platform: web
Questionnaire
I'm interested in fixing this myself but don't know where to start
I would like to fix and I have a solution
I don't have time to fix this right now, but maybe later
The text was updated successfully, but these errors were encountered:
To get around this, the Build CLI for release workflow could update the value of the pkg-url with the exact title of the release, rather than using a pattern. It could then commit that change back to the release tag.
Problem
The current release of the Dioxus CLI uses a different release tag naming scheme than that used for the previous GitHub Releases. This breaks the pattern set in the Cargo.toml, meaning cargo-binstall cannot find the binaries and falls back to the standard cargo install procedure.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
When running cargo-binstall or a GitHub Action like taiki-e/install-action which uses cargo-binstall under the hood to install Dioxus CLI v0.4.1 or later, the pre-built binaries should be installed rather than re-compiling the CLI from source.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:
Questionnaire
The text was updated successfully, but these errors were encountered: