GHA: Update cache directory if all steps succeeded

This commit is contained in:
James McCoy 2020-11-13 10:51:48 -05:00
parent ef0d558a3b
commit c7443b82a9
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -80,6 +80,10 @@ jobs:
- name: Build and test
run: ./ci/script.sh
- name: Cache dependencies
if: ${{ success() }}
run: ./ci/before_cache.sh
lint:
runs-on: ubuntu-latest
env:
@ -131,3 +135,7 @@ jobs:
- name: Build and test
run: ./ci/script.sh
- name: Cache dependencies
if: ${{ success() }}
run: ./ci/before_cache.sh