Compare commits

..

3 commits
master ... main

Author SHA1 Message Date
Charles P.
e2f9679c22
🚧 rollback to v3 of actions/upload-artifact
All checks were successful
GTFS Shapes Generation / modify_routes (push) Successful in 58s
waiting for https://codeberg.org/forgejo/forgejo/issues/3485 to be fixed
2024-06-01 22:41:01 +02:00
Charles P.
172f7eafdb
🚧 fix OSM data format in test.yml workflow
Some checks failed
GTFS Shapes Generation / modify_routes (push) Failing after 49s
2024-06-01 22:34:36 +02:00
Charles P.
eb2a556276
🚧 add test.yml
Some checks failed
GTFS Shapes Generation / modify_routes (push) Failing after 2m41s
2024-06-01 22:26:36 +02:00

View file

@ -12,16 +12,22 @@ 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@v1 uses: gtfs-actions/generate-shapes@main
with: with:
gtfs_file: sample-feed.zip gtfs_file: sample-feed.zip
osm_file: luxembourg-latest.osm.pbf osm_file: luxembourg-latest.osm
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@v4 uses: actions/upload-artifact@v3
with: with:
name: modified-feed name: modified-feed
path: modified-feed.zip path: modified-feed.zip