Skip to content

Commit b7f3397

Browse files
committed
Fix Rust install in APK workflow
1 parent d2435ee commit b7f3397

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/build-apk.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,11 @@ jobs:
7171
export CARGO_HOME="$HOME/.cargo"
7272
export PATH="$CARGO_HOME/bin:$PATH"
7373
74-
if ! command -v cargo >/dev/null; then
75-
curl https://sh.rustup.rs -sSf \
76-
| sh -s -- -y --profile minimal --default-toolchain "$RUST_TOOLCHAIN"
77-
fi
74+
apt-get update
75+
apt-get install -y curl
76+
77+
curl https://sh.rustup.rs -sSf \
78+
| sh -s -- -y --profile minimal --default-toolchain "$RUST_TOOLCHAIN"
7879
7980
rustc --version
8081
cargo --version

0 commit comments

Comments
 (0)