Skip to content

sort tile lists

sort tile lists #56

Workflow file for this run

name: Build test tileset
on:
push:
jobs:
ziplist:
runs-on: ubuntu-24.04
env:
DEBIAN_FRONTEND: noninteractive
TZ: America/NewYork
GH_TOKEN: ${{ github.token }}
outputs:
chunks: ${{ steps.chunks.outputs.chunks }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Gen tile sub-lists
id: chunks
run: |
TILENAME=test make test_tile_list_chunks
CHUNKS=$(ls test_tile_list.* | awk -F '.' '/.+/ { printf "%s\"z_test_%s.zip\"", sep, ""$2""; sep=", " }')
echo "chunks={\"chunk\":[$CHUNKS]}" >> $GITHUB_OUTPUT
call-build:
needs: ziplist
strategy:
matrix: ${{ fromJSON(needs.ziplist.outputs.chunks) }}
uses: ./.github/workflows/build-tiles.yml
with:
zip: ${{ matrix.chunk }}
setname: test