Skip to content

update ci

update ci #5

Workflow file for this run

name: Listen for batch dispatch

Check failure on line 1 in .github/workflows/listner.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/listner.yml

Invalid workflow file

(Line: 17, Col: 9): Unexpected value 'strategy'
on:
repository_dispatch:
types: [run-ci-batch]
jobs:
launch-batches:
runs-on: ubuntu-latest
steps:
- name: Call reusable CI for each batch
uses: ./.github/workflows/batch.yml
with:
batch-index: ${{ fromJSON(github.event.client_payload).batch_index }}
batch-size: ${{ fromJSON(github.event.client_payload).batch_size }}
# Loop over the count
# (we use a matrix to fire them in parallel, still ≤256 total)
strategy:
matrix:
batch_index: ${{ seq(fromJSON(github.event.client_payload).batch_count) }}