mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -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",
|
name: "Cache Cargo home",
|
||||||
uses: "actions/cache@v3",
|
uses: "buildjet/cache@v3",
|
||||||
with: {
|
with: {
|
||||||
// See https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
|
// See https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
|
||||||
path: [
|
path: [
|
||||||
|
@ -490,7 +490,7 @@ const ci = {
|
||||||
{
|
{
|
||||||
// Restore cache from the latest 'main' branch build.
|
// Restore cache from the latest 'main' branch build.
|
||||||
name: "Restore cache build output (PR)",
|
name: "Restore cache build output (PR)",
|
||||||
uses: "actions/cache/restore@v3",
|
uses: "buildjet/cache/restore@v3",
|
||||||
if:
|
if:
|
||||||
"github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')",
|
"github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')",
|
||||||
with: {
|
with: {
|
||||||
|
@ -914,7 +914,7 @@ const ci = {
|
||||||
{
|
{
|
||||||
// In main branch, always create a fresh cache
|
// In main branch, always create a fresh cache
|
||||||
name: "Save cache build output (main)",
|
name: "Save cache build output (main)",
|
||||||
uses: "actions/cache/save@v3",
|
uses: "buildjet/cache/save@v3",
|
||||||
if:
|
if:
|
||||||
"(matrix.job == 'test' || matrix.job == 'lint') && github.ref == 'refs/heads/main'",
|
"(matrix.job == 'test' || matrix.job == 'lint') && github.ref == 'refs/heads/main'",
|
||||||
with: {
|
with: {
|
||||||
|
|
Loading…
Reference in a new issue