File tree Expand file tree Collapse file tree 1 file changed +28
-7
lines changed
Expand file tree Collapse file tree 1 file changed +28
-7
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66
7- env :
8- TIMEZONE_BOUNDARY_VERSION : 2025a
9-
107jobs :
118 build-tzpb-pipeline :
129 runs-on : ubuntu-latest
1916 with :
2017 go-version-file : go.mod
2118
19+ - name : Fetch tag
20+ id : set-latest-version
21+ run : |
22+ go install github.com/ringsaturn/tzf/cmd/checkboundaryrelease@$TZF_CLI_TOOL_VERSION
23+
24+ checkboundaryrelease >> $GITHUB_OUTPUT
25+
26+ - name : Set env
27+ run : |
28+ echo TIMEZONE_BOUNDARY_VERSION=${{ steps.set-latest-version.outputs.TIMEZONE_BOUNDARY_VERSION }} >> $GITHUB_ENV
29+
2230 - name : Download files
2331 run : |
2432 wget https://github.com/evansiroky/timezone-boundary-builder/releases/download/${TIMEZONE_BOUNDARY_VERSION}/timezones-with-oceans.geojson.zip
@@ -47,13 +55,26 @@ jobs:
4755 preindextzpb data/combined-with-oceans.reduce.bin
4856 ls -alh data/
4957
50- - name : Upload tzpb artifacts
51- uses : actions/upload-artifact@v4
58+ - uses : actions/upload-artifact@v4
5259 with :
53- name : tzpb-files
60+ name : combined-with-oceans.bin
5461 path : |
55- data/combined-with-oceans.json
5662 data/combined-with-oceans.bin
63+
64+ - uses : actions/upload-artifact@v4
65+ with :
66+ name : combined-with-oceans.reduce.bin
67+ path : |
5768 data/combined-with-oceans.reduce.bin
69+
70+ - uses : actions/upload-artifact@v4
71+ with :
72+ name : combined-with-oceans.reduce.compress.bin
73+ path : |
5874 data/combined-with-oceans.reduce.compress.bin
75+
76+ - uses : actions/upload-artifact@v4
77+ with :
78+ name : combined-with-oceans.reduce.preindex.bin
79+ path : |
5980 data/combined-with-oceans.reduce.preindex.bin
You can’t perform that action at this time.
0 commit comments