Skip to content

Commit

Permalink
Add path on restore-key
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix authored Jan 2, 2024
1 parent f0b3d90 commit b2e1f3e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/osgeo4w.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
key: OSGeo4W-proj-data-${{ env.PackageDir }}-
restore-keys: |
OSGeo4W-proj-data-${{ env.PackageDir }}-
path: ${{ env.PackageDir }}/**/proj-data**
- name: Restore OSGeo4W package cache
id: restore-pkgs
uses: actions/cache/restore@v3
Expand All @@ -87,6 +88,12 @@ jobs:
key: OSGeo4W-packages-cache-${{ env.PackageDir }}-
restore-keys: |
OSGeo4W-packages-cache-${{ env.PackageDir }}-
path: |
${{ env.PackageDir }}/**
!${{ env.PackageDir }}/**/proj-data**
!${{ env.PackageDir }}/**/gdal-dev/**
!${{ env.PackageDir }}/**/setup.ini
- name: Save hashes of restored cache before update
id: restored-cache-hash
run: |
Expand Down

0 comments on commit b2e1f3e

Please sign in to comment.