Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use ubi backend if ubi installed via mise #127

Closed
glasser opened this issue Oct 10, 2024 · 2 comments
Closed

Cannot use ubi backend if ubi installed via mise #127

glasser opened this issue Oct 10, 2024 · 2 comments

Comments

@glasser
Copy link

glasser commented Oct 10, 2024

With this .mise.toml:

[tools]
rust = "1.81.0"
"cargo:ubi-cli" = "0.2.0"
"ubi:bep/s3deploy" = "v2.3.2"

and these steps:

      - uses: actions/checkout@v4
      - uses: jdx/mise-action@v2
        with:
          experimental: true  # for ubi backend

this action successfully installs rust and ubi, but fails to find ubi to use it:

     Compiling ubi-cli v0.2.0
      Finished `release` profile [optimized] target(s) in 1m 13s
    Installing /home/runner/.local/share/mise/installs/cargo-ubi-cli/0.2.0/bin/ubi
     Installed package `ubi-cli v0.2.0` (executable `ubi`)
  warning: be sure to add `/home/runner/.local/share/mise/installs/cargo-ubi-cli/0.2.0/bin` to your PATH to be able to run the installed binaries
  mise cargo:[email protected] ✓ installed
  mise failed to execute command: ubi --in /home/runner/.local/share/mise/installs/ubi-bep-s3deploy/v2.3.2/bin --project bep/s3deploy --tag v2.3.2
  mise No such file or directory (os error 2)
  mise Run with --verbose or MISE_VERBOSE=1 for more information

I'm actually a little surprised that mise understood to use the newly-installed rust for cargo, but not to use the newly-installed ubi.

@jdx jdx closed this as completed Oct 13, 2024
@glasser
Copy link
Author

glasser commented Oct 15, 2024

@jdx i take it this is fixed by jdx/mise#2290, in 2024.10.3?

@jdx
Copy link
Owner

jdx commented Oct 15, 2024

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants