mirror of
https://github.com/ironfox-oss/IronFox.git
synced 2026-06-11 09:44:46 -04:00
fix(ci): use CARGO_HOME instead of hardcoded path in build scripts
This commit is contained in:
@@ -42,7 +42,7 @@ if [[ "$env_source" != "true" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
source "$HOME/.cargo/env"
|
||||
source "$CARGO_HOME/env"
|
||||
|
||||
# We publish the artifacts into a local Maven repository instead of using the
|
||||
# auto-publication workflow because the latter does not work for Gradle
|
||||
@@ -134,4 +134,4 @@ if [[ "$build_type" == "apk" ]]; then
|
||||
elif [[ "$build_type" == "bundle" ]]; then
|
||||
gradle :app:bundleRelease -Paab
|
||||
fi
|
||||
popd
|
||||
popd
|
||||
|
||||
@@ -114,7 +114,7 @@ fi
|
||||
echo "...libclang dir set to ${libclang}"
|
||||
|
||||
# shellcheck disable=SC1090,SC1091
|
||||
source "$HOME/.cargo/env"
|
||||
source "$CARGO_HOME/env"
|
||||
rustup default 1.83.0
|
||||
rustup target add thumbv7neon-linux-androideabi
|
||||
rustup target add armv7-linux-androideabi
|
||||
|
||||
Reference in New Issue
Block a user