Skip to content

Commit

Permalink
os cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Sep 11, 2023
1 parent b599db9 commit 963d667
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ jobs:
- name: Coverage Tests
run: go test . -race
install-gdal:
runs-on: ubuntu-22.04
runs-on: $${{ matrix.os }}
strategy:
matrix:
os: [ 'ubuntu-20.04', 'ubuntu-22.04' ]
gdal: [ 'release/3.5', 'release/3.6', 'release/3.7', 'master' ]
steps:
- name: optgdal
Expand All @@ -42,7 +43,7 @@ jobs:
uses: actions/cache@v3
with:
path: /optgdal
key: ${{ runner.os }}-install-gdal-${{ matrix.gdal }}-${{ hashFiles('.github/workflows/build-gdal.sh') }}
key: ${{ matrix.os }}-install-gdal-${{ matrix.gdal }}-${{ hashFiles('.github/workflows/build-gdal.sh') }}
- name: Build GDAL
if: steps.cache-gdal.outputs.cache-hit != 'true'
run: sudo .github/workflows/build-gdal.sh ${{ matrix.gdal }}
Expand Down

0 comments on commit 963d667

Please sign in to comment.