Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Restore sccache cache (fallback)
if: ${{ env.SCCACHE_GHA_ENABLED != 'true' }}
id: cache_sccache_restore_ts
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: ${{ github.workspace }}/.sccache/
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-${{ github.run_id }}
Expand All @@ -65,7 +65,7 @@ jobs:

- name: Restore cargo home cache
id: cache_cargo_home_restore_ts
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: |
~/.cargo/bin/
Expand All @@ -78,7 +78,7 @@ jobs:

- name: Restore cargo target cache
id: cache_cargo_target_restore_ts
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: codex-rs/target/
key: cargo-target-${{ runner.os }}-${{ hashFiles('codex-rs/Cargo.lock') }}-${{ github.run_id }}
Expand All @@ -105,15 +105,15 @@ jobs:
- name: Save sccache cache (fallback)
if: always() && !cancelled() && env.SCCACHE_GHA_ENABLED != 'true'
continue-on-error: true
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
path: ${{ github.workspace }}/.sccache/
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-${{ github.run_id }}

- name: Save cargo home cache
if: always() && !cancelled() && steps.cache_cargo_home_restore_ts.outputs.cache-hit != 'true'
continue-on-error: true
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
path: |
~/.cargo/bin/
Expand All @@ -125,7 +125,7 @@ jobs:
- name: Save cargo target cache
if: always() && !cancelled() && steps.cache_cargo_target_restore_ts.outputs.cache-hit != 'true'
continue-on-error: true
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
path: codex-rs/target/
key: cargo-target-${{ runner.os }}-${{ hashFiles('codex-rs/Cargo.lock') }}-${{ github.run_id }}
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
- name: Restore sccache cache (fallback)
if: ${{ env.SCCACHE_GHA_ENABLED != 'true' }}
id: cache_sccache_restore
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: ${{ github.workspace }}/.sccache/
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
Expand All @@ -197,7 +197,7 @@ jobs:
# Match rust-ci: split cargo home vs target, so large target dir is separable.
- name: Restore cargo home cache
id: cache_cargo_home_restore
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: |
~/.cargo/bin/
Expand All @@ -210,7 +210,7 @@ jobs:

- name: Restore cargo target cache
id: cache_cargo_target_restore
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: codex-rs/target/
key: cargo-target-${{ runner.os }}-${{ hashFiles('codex-rs/Cargo.lock') }}
Expand All @@ -233,7 +233,7 @@ jobs:
- name: Save sccache cache (fallback)
if: always() && !cancelled() && env.SCCACHE_GHA_ENABLED != 'true'
continue-on-error: true
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
path: ${{ github.workspace }}/.sccache/
key: sccache-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
Expand All @@ -246,7 +246,7 @@ jobs:
- name: Save cargo home cache
if: always() && !cancelled() && steps.cache_cargo_home_restore.outputs.cache-hit != 'true'
continue-on-error: true
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
path: |
~/.cargo/bin/
Expand All @@ -258,7 +258,7 @@ jobs:
- name: Save cargo target cache
if: always() && !cancelled() && steps.cache_cargo_target_restore.outputs.cache-hit != 'true'
continue-on-error: true
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
path: codex-rs/target/
key: cargo-target-${{ runner.os }}-${{ hashFiles('codex-rs/Cargo.lock') }}
Expand Down
Loading