mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
Use buildjet's cache
This commit is contained in:
parent
e1aa6b469e
commit
8e7427ab22
1 changed files with 3 additions and 3 deletions
6
.github/workflows/ci.generate.ts
vendored
6
.github/workflows/ci.generate.ts
vendored
|
@ -475,7 +475,7 @@ const ci = {
|
|||
},
|
||||
{
|
||||
name: "Cache Cargo home",
|
||||
uses: "actions/cache@v3",
|
||||
uses: "buildjet/cache@v3",
|
||||
with: {
|
||||
// See https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
|
||||
path: [
|
||||
|
@ -490,7 +490,7 @@ const ci = {
|
|||
{
|
||||
// Restore cache from the latest 'main' branch build.
|
||||
name: "Restore cache build output (PR)",
|
||||
uses: "actions/cache/restore@v3",
|
||||
uses: "buildjet/cache/restore@v3",
|
||||
if:
|
||||
"github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')",
|
||||
with: {
|
||||
|
@ -914,7 +914,7 @@ const ci = {
|
|||
{
|
||||
// In main branch, always create a fresh cache
|
||||
name: "Save cache build output (main)",
|
||||
uses: "actions/cache/save@v3",
|
||||
uses: "buildjet/cache/save@v3",
|
||||
if:
|
||||
"(matrix.job == 'test' || matrix.job == 'lint') && github.ref == 'refs/heads/main'",
|
||||
with: {
|
||||
|
|
Loading…
Reference in a new issue