diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff4297c35..61378910b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: