Skip to content

Commit e4ae576

Browse files
authored
Update build.yml
1 parent 9bf2692 commit e4ae576

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/build.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,14 @@ jobs:
2929

3030
- name: Convert SHP to GeoJSON
3131
run: |
32-
ogr2ogr -select admin,iso_a3 -f geojson ne_110m_admin_0_countries.geojson ne_110m_admin_0_countries/ne_110m_admin_0_countries.shp
32+
ogr2ogr -select admin,iso_a3 -f geojson world-110m.geojson ne_110m_admin_0_countries/ne_110m_admin_0_countries.shp
3333
3434
- name: Output file
35-
run: echo "GeoJSON file created:"
36-
37-
- name: Format file
3835
run: |
39-
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
36+
echo "GeoJSON file created: world-110m.geojson"
4037
4138
- name: Upload build artifact
4239
uses: actions/upload-artifact@v2
4340
with:
44-
name: geojson-output
45-
path: ne_110m_admin_0_countries.geojson
41+
name: world-110m.geojson
42+
path: world-110m.geojson

0 commit comments

Comments
 (0)