From 100e3eb7828755f337456a8e9b43fed4207017be Mon Sep 17 00:00:00 2001 From: cassiobotaro Date: Fri, 29 Mar 2024 12:44:31 -0300 Subject: [PATCH] matrix --- .github/workflows/main.yaml | 12 ++++++++++-- .gitignore | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c27be6c..d6956d7 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -4,6 +4,9 @@ on: [push, pull_request] jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + repo: [relacionamentos, icones] permissions: contents: write container: @@ -16,5 +19,10 @@ jobs: - uses: actions/checkout@v4 - name: Generate diagrams run: | - bash scripts/gerar-diagramas.sh relacionamentos - git status + bash scripts/gerar-diagramas.sh ${{ matrix.repo }} + - name: Status + run: git status + # - name: Commit changes + # uses: stefanzweifel/git-auto-commit-action@v5 + # with: + # commit_message: "Diagramas gerados automaticamente" diff --git a/.gitignore b/.gitignore index 6fbf0b2..6c2e740 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ out .structurizr */export-diagrams.js +*.mmd