houseabsolute / actions-rust-cross

GitHub Action to compile Rust with cross
Apache License 2.0
101 stars 9 forks source link

UBI bootstrap script unable to setup cross-rs #18

Open serle opened 1 month ago

serle commented 1 month ago

I'm trying to build for apple silicone, with the following action config

build:
    name: Build
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Build binary
        uses: houseabsolute/actions-rust-cross@v0
        with:
          command: "build"
          target: aarch64-apple-darwin
          toolchain: nightly
          cross-version: "v0.2.5"
          args: "--locked --release"
          strip: true

I'm getting output

...
bootstrap-ubi.sh: ubi has been installed to ..
| bootstrap-ubi.sh: It looks like . is not in your PATH. You may want to add it to use ubi.
| 
| + ./ubi --project cross-rs/cross --matching musl --in . --tag v0.2.5
| [ubi][ERROR] HTTP status client error (401 Unauthorized) for url (https://api.github.com/repos/cross-rs/cross/releases/tags/v0.2.5)
autarch commented 1 month ago

That's odd. Can you point me to the project with this config or is it private?