You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2020/05/25 20:14:32 UTC

[airflow] branch v1-10-test updated: Bust pre-commit cache on Github Actions for 1.10 branch (#8973)

This is an automated email from the ASF dual-hosted git repository.

ash pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v1-10-test by this push:
     new 027a2c8  Bust pre-commit cache on Github Actions for 1.10 branch (#8973)
027a2c8 is described below

commit 027a2c8f078a944f828bf9ce9b55c2f1a1f1b7ff
Author: Ash Berlin-Taylor <as...@firemirror.com>
AuthorDate: Mon May 25 21:13:49 2020 +0100

    Bust pre-commit cache on Github Actions for 1.10 branch (#8973)
    
    The cached pre-commit env is somehow broken, and the there is no way to
    delete a cache, so we have to use a new cache key instead
---
 .github/workflows/ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a18f64a..0aaf722 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -53,7 +53,7 @@ jobs:
       - name: Cache pre-commit env
         uses: actions/cache@v1
         env:
-          cache-name: cache-pre-commit
+          cache-name: cache-pre-commit-epoch2
         with:
           path: ~/.cache/pre-commit
           key: ${{ env.cache-name }}-${{ github.job }}-${{ hashFiles('.pre-commit-config.yaml') }}