From c7443b82a9be093877c8e9e53eb079c39df25f7f Mon Sep 17 00:00:00 2001 From: James McCoy Date: Fri, 13 Nov 2020 10:51:48 -0500 Subject: GHA: Update cache directory if all steps succeeded --- .github/workflows/linux.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.github/workflows/linux.yml') diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 711fd1abcf..053d22e4f7 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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 -- cgit