Compare commits
No commits in common. "main" and "master" have entirely different histories.
1 changed files with 3 additions and 9 deletions
|
@ -12,22 +12,16 @@ jobs:
|
||||||
- name: Download OSM data
|
- name: Download OSM data
|
||||||
run: curl -o luxembourg-latest.osm.pbf https://download.geofabrik.de/europe/luxembourg-latest.osm.pbf
|
run: curl -o luxembourg-latest.osm.pbf https://download.geofabrik.de/europe/luxembourg-latest.osm.pbf
|
||||||
|
|
||||||
- name: Convert OSM data to .osm
|
|
||||||
run: |
|
|
||||||
apt update && \
|
|
||||||
apt install -y osmctools && \
|
|
||||||
osmconvert luxembourg-latest.osm.pbf -o=luxembourg-latest.osm
|
|
||||||
|
|
||||||
- name: Run Shape Generation
|
- name: Run Shape Generation
|
||||||
uses: gtfs-actions/generate-shapes@main
|
uses: gtfs-actions/generate-shapes@v1
|
||||||
with:
|
with:
|
||||||
gtfs_file: sample-feed.zip
|
gtfs_file: sample-feed.zip
|
||||||
osm_file: luxembourg-latest.osm
|
osm_file: luxembourg-latest.osm.pbf
|
||||||
mot: bus
|
mot: bus
|
||||||
output_file: modified-feed.zip
|
output_file: modified-feed.zip
|
||||||
|
|
||||||
- name: Upload modified feed
|
- name: Upload modified feed
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: modified-feed
|
name: modified-feed
|
||||||
path: modified-feed.zip
|
path: modified-feed.zip
|
Loading…
Reference in a new issue