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 c5f0d2c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,18 @@ jobs:
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Download cache from bucket
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
run: |
gsutil rsync -r gs://coreum-ci-cache /root/.cache
- name: Run ${{ matrix.ci_step }}
run: ${{ matrix.command }}
- name: Upload cache to bucket
env:
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
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 c5f0d2c

Please sign in to comment.