From dbd21326622da949d684c0aa198ec12ca4513cae Mon Sep 17 00:00:00 2001 From: Isaac Milarsky Date: Thu, 13 Jun 2024 09:38:15 -0500 Subject: [PATCH] use matrix configuration to run orgs in seperate jobs Signed-off-by: Isaac Milarsky --- .github/workflows/update_data.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update_data.yml b/.github/workflows/update_data.yml index 53de9c7270..0c8b3463fe 100644 --- a/.github/workflows/update_data.yml +++ b/.github/workflows/update_data.yml @@ -8,6 +8,9 @@ on: jobs: update: + strategy: + matrix: + orgs: ["DSACMS","Enterprise-CMCS","CMS-Enterprise","CMSgov"] permissions: write-all name: update runs-on: ubuntu-latest @@ -25,7 +28,7 @@ jobs: restore-keys: | ${{ runner.os }}-pip- - run: pip install -r requirements.txt - - run: ./update.sh + - run: ./update.sh ${{ matrix.orgs }} env: GITHUB_TOKEN: ${{ secrets.METRICS_GITHUB_TOKEN }} AUGUR_HOST: ${{ vars.AUGUR_HOST }}