Revert "ci(build): persist cargo registry via CARGO_HOME on existing volume"
This reverts commit bed8aa7f8879a0269d28349b82b1a2c6e8d58b9c.
This commit is contained in:
parent
11e8e1355a
commit
6dea33bc22
@ -16,13 +16,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Build and publish changed packages
|
- name: Build and publish changed packages
|
||||||
run: |
|
run: |
|
||||||
# Persist cargo registry + git cache across runs by piggy-backing
|
|
||||||
# on the existing persistent CARGO_TARGET_DIR volume (compose
|
|
||||||
# mounts ./runner-cargo-target -> /cache/target). Without this,
|
|
||||||
# every build re-downloads every crate.
|
|
||||||
export CARGO_HOME="${CARGO_TARGET_DIR:-/cache/target}/cargo-home"
|
|
||||||
mkdir -p "$CARGO_HOME"
|
|
||||||
|
|
||||||
rm -rf repo
|
rm -rf repo
|
||||||
git clone http://gitea:3000/nevaforget/moonarch-pkgbuilds.git repo
|
git clone http://gitea:3000/nevaforget/moonarch-pkgbuilds.git repo
|
||||||
cd repo
|
cd repo
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user