LiveSplit / LiveSplitOne

A version of LiveSplit that works on a lot of platforms.
https://one.livesplit.org/
MIT License
243 stars 28 forks source link

CI not able to retrieve wasm-bindgen version #879

Closed wooferzfg closed 4 months ago

wooferzfg commented 4 months ago

Example job: https://github.com/LiveSplit/LiveSplitOne/actions/runs/9087039577/job/24974002337

Run echo "version=$(cd livesplit-core && cargo tree -i wasm-bindgen --features wasm-web --target wasm32-unknown-unknown --depth 0 | sed 's/.* v//g')" >> $GITHUB_OUTPUT
    Updating crates.io index
    Updating git repository `https://github.com/CryZe/simdutf8`
error: failed to get `simdutf8` as a dependency of package `livesplit-core-capi v0.11.0 (/home/runner/work/LiveSplitOne/LiveSplitOne/livesplit-core/capi)`

Caused by:
  failed to load source for dependency `simdutf8`

Caused by:
  Unable to update https://github.com/CryZe/simdutf8?branch=wasm-ub-panic

Caused by:
  failed to find branch `wasm-ub-panic`

Caused by:
  cannot locate remote-tracking branch 'origin/wasm-ub-panic'; class=Reference ([4](https://github.com/LiveSplit/LiveSplitOne/actions/runs/9087039577/job/24974002337#step:7:5)); code=NotFound (-3)
wooferzfg commented 4 months ago

@CryZe It looks like livesplit-core is referencing a branch that no longer exists in the repo: https://github.com/LiveSplit/livesplit-core/blob/d55aca7619f5c36d28bf8c57509d366f1a22b2e5/Cargo.toml#L50