diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b17a3d2..8537d89 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,17 +29,17 @@ jobs: - name: Convert SHP to GeoJSON run: | - ogr2ogr -select admin,iso_a3 -f geojson ne_110m_admin_0_countries/ne_110m_admin_0_countries.geojson ne_110m_admin_0_countries/ne_110m_admin_0_countries.shp + ogr2ogr -select admin,iso_a3 -f geojson ne_110m_admin_0_countries.geojson ne_110m_admin_0_countries/ne_110m_admin_0_countries.shp - name: Output file run: echo "GeoJSON file created:" - name: Format file run: | - cat ne_110m_admin_0_countries/ne_110m_admin_0_countries.geojson | sed 's/"admin": /"name": /g' | sed 's/"iso_a3": /"ISO3166-1-Alpha-3": /g' > ne_110m_admin_0_countries/ne_110m_admin_0_countries.geojson + cat ne_110m_admin_0_countries.geojson | sed 's/"admin": /"name": /g' | sed 's/"iso_a3": /"ISO3166-1-Alpha-3": /g' > ne_110m_admin_0_countries.geojson - name: Upload build artifact uses: actions/upload-artifact@v2 with: name: geojson-output - path: ne_110m_admin_0_countries/ne_110m_admin_0_countries.geojson + path: ne_110m_admin_0_countries.geojson