mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
ci(cargo-cache): align prewarm with job CARGO_HOME via CARGO_HOME_ENFORCED; enable cache-on-failure for upstream-merge/issue-code; keep preview-build cache settings
This commit is contained in:
@@ -118,11 +118,13 @@ jobs:
|
||||
workspaces: |
|
||||
codex-rs -> target
|
||||
save-if: true
|
||||
cache-on-failure: true
|
||||
|
||||
- name: Prime Rust build cache (fast local build)
|
||||
shell: bash
|
||||
env:
|
||||
STRICT_CARGO_HOME: "1"
|
||||
CARGO_HOME_ENFORCED: ${{ env.CARGO_HOME }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
./build-fast.sh
|
||||
|
||||
@@ -287,6 +287,7 @@ jobs:
|
||||
workspaces: |
|
||||
codex-rs -> target
|
||||
save-if: true
|
||||
cache-on-failure: true
|
||||
|
||||
- name: Setup sccache (GHA backend)
|
||||
if: steps.check_upstream.outputs.skip != 'true'
|
||||
@@ -309,6 +310,7 @@ jobs:
|
||||
if: steps.check_upstream.outputs.skip != 'true'
|
||||
env:
|
||||
STRICT_CARGO_HOME: "1"
|
||||
CARGO_HOME_ENFORCED: ${{ env.CARGO_HOME }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
./build-fast.sh
|
||||
|
||||
Reference in New Issue
Block a user