Skip to content

Commit

Permalink
Add cache to github runners
Browse files Browse the repository at this point in the history
  • Loading branch information
alinetskyi committed Dec 3, 2024
1 parent e64bdaa commit 1f51c6b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,16 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v0
with:
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'
- name: Download cache from bucket
run: gsutil rsync -r gs://coreum-ci-cache /root/.cache/
- name: Run ${{ matrix.ci_step }}
run: ${{ matrix.command }}
- name: Upload cache to bucket
run: gsutil rsync -r /root/.cache/ gs://coreum-ci-cache
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit 1f51c6b

Please sign in to comment.