Skip to content

Scheduling infrastructure for absolutely everyone.

Uses buildjet cache action

zomars285c122bdcc8
diff --git a/.github/actions/cache-build/action.yml b/.github/actions/cache-build/action.yml
index 17b397cb531..1ef35a7831b 100644
--- a/.github/actions/cache-build/action.yml
+++ b/.github/actions/cache-build/action.yml
@@ -8,7 +8,7 @@ runs:
using: "composite"
steps:
- name: Cache production build
- uses: actions/cache@v3
+ uses: buildjet/cache@v3
id: cache-build
env:
cache-name: prod-build
diff --git a/.github/actions/cache-db/action.yml b/.github/actions/cache-db/action.yml
index a706e3260c9..f69fd9513a6 100644
--- a/.github/actions/cache-db/action.yml
+++ b/.github/actions/cache-db/action.yml
@@ -12,7 +12,7 @@ runs:
steps:
- name: Cache database
id: cache-db
- uses: actions/cache@v3
+ uses: buildjet/cache@v3
env:
cache-name: cache-db
key-1: ${{ hashFiles('packages/prisma/schema.prisma', 'packages/prisma/migrations/**/**.sql', 'packages/prisma/*.ts') }}
diff --git a/.github/actions/env-read-file/action.yml b/.github/actions/env-read-file/action.yml
index 26ca4e03064..7caf7328fff 100644
--- a/.github/actions/env-read-file/action.yml
+++ b/.github/actions/env-read-file/action.yml
@@ -4,7 +4,7 @@ runs:
using: "composite"
steps:
- name: Create env file
- uses: actions/cache@v3
+ uses: buildjet/cache@v3
id: env-cache
with:
path: gh.env
@@ -13,4 +13,4 @@ runs:
- name: Set Environment Variables
uses: tw3lveparsecs/github-actions-setvars@latest
with:
- envFilePath: gh.env
\ No newline at end of file
+ envFilePath: gh.env
diff --git a/.github/actions/yarn-install/action.yml b/.github/actions/yarn-install/action.yml
index 106298bfab1..216cdce6de6 100644
--- a/.github/actions/yarn-install/action.yml
+++ b/.github/actions/yarn-install/action.yml
@@ -20,7 +20,7 @@ runs:
using: "composite"
steps:
- name: Use Node ${{ inputs.node_version }}
- uses: actions/setup-node@v3
+ uses: buildjet/setup-node@v3
with:
node-version: ${{ inputs.node_version }}
- name: Expose yarn config as "$GITHUB_OUTPUT"
@@ -32,7 +32,7 @@ runs:
# Yarn rotates the downloaded cache archives, @see https://github.com/actions/setup-node/issues/325
# Yarn cache is also reusable between arch and os.
- name: Restore yarn cache
- uses: actions/cache@v3
+ uses: buildjet/cache@v3
id: yarn-download-cache
with:
path: ${{ steps.yarn-config.outputs.CACHE_FOLDER }}
@@ -43,7 +43,7 @@ runs:
# Invalidated on yarn.lock changes
- name: Restore yarn install state
id: yarn-install-state-cache
- uses: actions/cache@v3
+ uses: buildjet/cache@v3
with:
path: .yarn/ci-cache/
key: ${{ runner.os }}-yarn-install-state-cache-${{ hashFiles('yarn.lock', '.yarnrc.yml') }}
diff --git a/.github/workflows/env-create-file.yml b/.github/workflows/env-create-file.yml
index 7e5d73bbd86..dadab15de95 100644
--- a/.github/workflows/env-create-file.yml
+++ b/.github/workflows/env-create-file.yml
@@ -43,7 +43,7 @@ jobs:
- uses: ozaytsev86/create-env-file@v1
with:
file-name: ${{ github.workspace }}/gh.env
- - uses: actions/cache@v3
+ - uses: buildjet/cache@v3
id: env-cache
with:
path: gh.env