Fix unit test & integration CI and the release CI (#469)

* Fix integration test: Make sure `cargo build cargo-binstall` would not fail due to binary already present
* Disable feature `zlib-ng` for release build
* Disable build-std for release build on aarch64-unknown-linux-gnu
* Fix clippy warning in unit test CI
* Fix compile-settings.jq
* Fix caching: Rm `restores-keys`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-10-08 18:26:46 +11:00 committed by GitHub
parent 5d51541dcf
commit 98b62251ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 12 deletions

View file

@ -77,7 +77,7 @@ impl UIThreadInner {
self.confirm_rx
.recv()
.await
.unwrap_or(Err(BinstallError::UserAbort))
.unwrap_or_else(|| Err(BinstallError::UserAbort))
}
}