Skip to content

Commit

Permalink
Move (most) GitHub Actions caching to AWS S3 (#23385)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: b404d8d6bf0af73c4442871250a061c50161fe6b
  • Loading branch information
gautamg795 authored and Convex, Inc. committed Mar 14, 2024
1 parent f56289d commit e0c5e44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/actions/setup-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,4 @@ runs:
with:
# Only cache the `.cargo` directory; not build artifacts.
cache-targets: "false"
cache-provider: "buildjet"
7 changes: 6 additions & 1 deletion .github/workflows/build_local_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ jobs:
run: cargo update -w --locked

- name: Cache pnpm artifacts
uses: actions/cache@v3
uses: runs-on/cache@v4
env:
AWS_REGION: ${{ vars.AWS_REGION }}
AWS_ACCESS_KEY_ID: ""
AWS_SECRET_ACCESS_KEY: ""
RUNS_ON_S3_BUCKET_CACHE: ${{ vars.RUNS_ON_S3_BUCKET_CACHE }}
with:
path: |
npm-packages/common/temp/build-cache
Expand Down

0 comments on commit e0c5e44

Please sign in to comment.