Skip to content
Permalink
Browse files

always upload cache for PRs too

  • Loading branch information
3nids authored and nyalldawson committed Feb 8, 2021
1 parent ba35690 commit 477d037974e313f303559a6e037f9b925e384278
Showing with 2 additions and 2 deletions.
  1. +2 −2 .github/workflows/run-tests.yml
@@ -74,7 +74,7 @@ jobs:
docker push "qgis/qgis3-build-deps:${DOCKER_TAG}"
- name: Prepare build cache for pull request
uses: actions/cache@v2
uses: pat-s/always-upload-cache@v2.1.3
if: github.event_name == 'pull_request'
with:
path: /home/runner/QGIS/.ccache
@@ -87,7 +87,7 @@ jobs:
- name: Prepare build cache for branch/tag
# use a fork of actions/cache@v2 to upload cache even when the build or test failed
uses: pat-s/always-upload-cache@v2.1.0
uses: pat-s/always-upload-cache@v2.1.3
if: github.event_name != 'pull_request'
with:
path: /home/runner/QGIS/.ccache

0 comments on commit 477d037

Please sign in to comment.