Skip to content

Commit

Permalink
always upload cache for PRs too
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and nyalldawson committed Feb 8, 2021
1 parent ba35690 commit 477d037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-tests.yml
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 477d037

Please sign in to comment.