Skip to content

Commit

Permalink
Keep trying cache
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Jan 2, 2024
1 parent 5a9e779 commit c4ac72d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,25 +63,25 @@ jobs:
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
id: cache-geos
with:
path: ~/work/go-geos/*
key: geos-${{ runner.os }}-${{ matrix.geos-version }}
path: ~/work/geos-${{ matrix.geos-version }}
key: ${{ runner.os }}-geos-${{ matrix.geos-version }}
- name: build-geos
if: ${{ steps.cache-geos.outputs.cache-hit != 'true' }}
run: |
echo $PWD
cd ~/work
curl https://download.osgeo.org/geos/geos-${{ matrix.geos-version }}.tar.bz2 | tar xjf -
cd geos-${{ matrix.geos-version }}
mkdir _build
cd _build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local ..
make -j2
ctest
make -j4
# ctest
- name: list-geos-files
run: |
find ~/work/go-geos
find ~/work/geos-${{ matrix.geos-version }}
- name: install-geos
run: |
cd geos-${{ matrix.geos-version }}/_build
cd ~/work/geos-${{ matrix.geos-version }}/_build
sudo make install
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
Expand Down

0 comments on commit c4ac72d

Please sign in to comment.