aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2020-11-13 10:51:48 -0500
committerJames McCoy <jamessan@jamessan.com>2020-11-13 13:36:58 -0500
commitc7443b82a9be093877c8e9e53eb079c39df25f7f (patch)
tree3b4d1f29f2e828cda864d0e91b67ee14b667c2a6
parentef0d558a3b145a0ad9e60434e97f56383934990c (diff)
downloadrneovim-c7443b82a9be093877c8e9e53eb079c39df25f7f.tar.gz
rneovim-c7443b82a9be093877c8e9e53eb079c39df25f7f.tar.bz2
rneovim-c7443b82a9be093877c8e9e53eb079c39df25f7f.zip
GHA: Update cache directory if all steps succeeded
-rw-r--r--.github/workflows/linux.yml8
1 files changed, 8 insertions, 0 deletions
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