From 172f7eafdba0a82c085c2d1a3944144f046b0faf Mon Sep 17 00:00:00 2001 From: "Charles P." Date: Sat, 1 Jun 2024 22:34:36 +0200 Subject: [PATCH] :construction: fix OSM data format in test.yml workflow --- .forgejo/workflows/test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 30ec645..91882b2 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -12,11 +12,17 @@ jobs: - name: Download OSM data 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 uses: gtfs-actions/generate-shapes@main with: gtfs_file: sample-feed.zip - osm_file: luxembourg-latest.osm.pbf + osm_file: luxembourg-latest.osm mot: bus output_file: modified-feed.zip