Skip to content

Commit

Permalink
Cache pull request data
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Aug 5, 2024
1 parent cd54f3f commit 81a1c87
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@ name: Build graph

on:
- pull_request
- push

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Cache OSM and elevation data
uses: actions/cache@v4
with:
path: |
data/srtm*
data/italy-nord-est.osm.pbf
key: input-data-${{ env.GITHUB_REF_NAME }}

- run: ./build-graph.sh

0 comments on commit 81a1c87

Please sign in to comment.