fix: try to populate the Windows cache for release builds when PRs are put up for review

This commit is contained in:
Michael Bolin
2025-08-28 23:33:17 -07:00
parent 65636802f7
commit cc427b75d1
2 changed files with 4 additions and 1 deletions

View File

@@ -109,6 +109,9 @@ jobs:
- runner: ubuntu-24.04
target: x86_64-unknown-linux-musl
profile: release
- runner: windows-latest
target: x86_64-pc-windows-msvc
profile: release
steps:
- uses: actions/checkout@v5

View File

@@ -87,7 +87,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
${{ github.workspace }}/codex-rs/target/
key: cargo-release-${{ matrix.runner }}-${{ matrix.target }}-release-${{ hashFiles('**/Cargo.lock') }}
key: cargo-${{ matrix.runner }}-${{ matrix.target }}-release-${{ hashFiles('**/Cargo.lock') }}
- if: ${{ matrix.target == 'x86_64-unknown-linux-musl' || matrix.target == 'aarch64-unknown-linux-musl'}}
name: Install musl build tools