ci: Fix cross build error with Rust 1.68

This commit is contained in:
tiann
2023-03-26 17:34:47 +08:00
parent 1ace028cef
commit 92ae0e5460

View File

@@ -16,7 +16,8 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
# cross build failed after Rust 1.68, see https://github.com/cross-rs/cross/issues/1222
- run: rustup default 1.67.0
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
workspaces: userspace/ksud workspaces: userspace/ksud
@@ -33,4 +34,3 @@ jobs:
with: with:
name: ksud-${{ inputs.target }} name: ksud-${{ inputs.target }}
path: userspace/ksud/target/**/release/ksud path: userspace/ksud/target/**/release/ksud