Skip to content

Commit

Permalink
Exclude directories requiring special permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
pitmonticone committed Jul 6, 2024
1 parent 80240b3 commit 7fc5903
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
uses: actions/cache@v3
with:
path: .lake/build
key: build-artifacts-${{ hashFiles('lake-manifest.json') }}
key: build-artifacts-${{ runner.os }}-${{ hashFiles('lake-manifest.json') }}
restore-keys: |
build-artifacts-
Expand All @@ -77,15 +77,20 @@ jobs:
- name: Cache apt packages
uses: actions/cache@v3
with:
path: /var/cache/apt
path: |
/var/cache/apt/archives
!/var/cache/apt/archives/partial
key: apt-cache-${{ runner.os }}-${{ hashFiles('blueprint/requirements.txt') }}
restore-keys: |
apt-cache-${{ runner.os }}-
- name: Cache apt package lists
uses: actions/cache@v3
with:
path: /var/lib/apt/lists
path: |
/var/lib/apt/lists
!/var/lib/apt/lists/partial
!/var/lib/apt/lists/lock
key: apt-lists-${{ runner.os }}-${{ hashFiles('blueprint/requirements.txt') }}
restore-keys: |
apt-lists-${{ runner.os }}-
Expand All @@ -99,7 +104,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: blueprint-dependencies-${{ hashFiles('blueprint/requirements.txt') }}
key: blueprint-dependencies-${{ runner.os }}-${{ hashFiles('blueprint/requirements.txt') }}
restore-keys: |
blueprint-dependencies- # Cache Python dependencies for blueprint
Expand Down

0 comments on commit 7fc5903

Please sign in to comment.