Skip to content

Commit

Permalink
👷 Update belgium.yml
Browse files Browse the repository at this point in the history
Permission loss when artifact is uploaded.
Related to actions/upload-artifact#38
  • Loading branch information
jbelien committed Oct 14, 2020
1 parent ae0167b commit 1417678
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/belgium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@ jobs:
tippecanoe --force --no-feature-limit --no-tile-size-limit \
--maximum-zoom=14 --minimum-zoom=14 \
--output="belgium-buffers.mbtiles" "belgium-buffers.geojson" --layer="buffers"
# See https://github.com/actions/upload-artifact/issues/38
- name: Compress
run: tar -czvf belgium-buffers.tar.gz belgium-buffers.mbtiles
- name: Upload OpenStreetMap buffers
uses: actions/upload-artifact@v2
with:
name: OpenStreetMap-Belgium-Buffers
path: belgium-buffers.mbtiles
path: belgium-buffers.tar.gz

flanders-diff:
name: Generate difference for Flanders
Expand Down Expand Up @@ -97,7 +100,10 @@ jobs:
uses: actions/download-artifact@v2
with:
name: OpenStreetMap-Belgium-Buffers
path: belgium-buffers.mbtiles
path: belgium-buffers.tar.gz
# See https://github.com/actions/upload-artifact/issues/38
- name: Extract
run: tar -xzvf belgium-buffers.tar.gz
- name: Difference
run: node "script/difference.js" "WegsegmentTagged.mbtiles" "belgium-buffers.mbtiles"
- name: Upload difference
Expand Down

0 comments on commit 1417678

Please sign in to comment.