Skip to content

Commit

Permalink
Fix CI errors from trying to use sparse registries (#3155)
Browse files Browse the repository at this point in the history
Mac OS is still using an old version of Cargo C, so we need to continue to use non-sparse registries. Cargo changed the name and syntax of the relevant env var, so this change updates that.
  • Loading branch information
shssoichiro authored Mar 14, 2023
1 parent a35ea5e commit 84a82b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rav1e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
- name: Run cargo-c
if: matrix.conf == 'cargo-c'
env:
CARGO_UNSTABLE_SPARSE_REGISTRY: false
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
run: |
cargo fetch
cargo cbuild --offline
Expand Down Expand Up @@ -332,7 +332,7 @@ jobs:
- name: Run cargo-c
if: matrix.conf == 'cargo-c'
env:
CARGO_UNSTABLE_SPARSE_REGISTRY: false
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
run: |
cargo fetch
cargo cbuild --target=${{ matrix.target }} --offline
Expand Down Expand Up @@ -414,7 +414,7 @@ jobs:
- name: Run cargo-c
if: matrix.conf == 'cargo-c'
env:
CARGO_UNSTABLE_SPARSE_REGISTRY: false
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: git
run: |
cargo fetch
cargo cbuild --offline
Expand Down

0 comments on commit 84a82b3

Please sign in to comment.