diff --git a/.github/workflows/aicirt-release.yml b/.github/workflows/aicirt-release.yml index b1f34d16..cb7184f0 100644 --- a/.github/workflows/aicirt-release.yml +++ b/.github/workflows/aicirt-release.yml @@ -18,6 +18,9 @@ jobs: steps: - uses: actions/checkout@v3 - run: rustup target add wasm32-wasi + - uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: true - name: Release script run: ./scripts/release.sh --xz - name: Release diff --git a/.github/workflows/aicirt.yml b/.github/workflows/aicirt.yml index 65d76a49..3429c66f 100644 --- a/.github/workflows/aicirt.yml +++ b/.github/workflows/aicirt.yml @@ -17,6 +17,9 @@ jobs: steps: - uses: actions/checkout@v3 - run: rustup target add wasm32-wasi + - uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: true - name: Build aici_abi run: cargo build --verbose --release working-directory: aici_abi diff --git a/.github/workflows/rllm-cpp.yml b/.github/workflows/rllm-cpp.yml index b4f609a1..877073f0 100644 --- a/.github/workflows/rllm-cpp.yml +++ b/.github/workflows/rllm-cpp.yml @@ -18,7 +18,10 @@ jobs: - uses: actions/checkout@v3 with: submodules: true - - run: sudo apt-get install ccache + - uses: hendrikmuhs/ccache-action@v1.2 + - uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: true - name: Build rllm-cpp run: cargo build --verbose --release --no-default-features working-directory: rllm-cpp