From cbc15fa559388608ce9394723d887c1b4d40fe16 Mon Sep 17 00:00:00 2001 From: Rafael Fontenelle Date: Mon, 29 Sep 2025 13:40:22 -0300 Subject: [PATCH] Use matrix --- .github/workflows/switcher-requirements-progress.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/switcher-requirements-progress.yml b/.github/workflows/switcher-requirements-progress.yml index dd54388..b614878 100644 --- a/.github/workflows/switcher-requirements-progress.yml +++ b/.github/workflows/switcher-requirements-progress.yml @@ -11,6 +11,9 @@ on: jobs: run: runs-on: ubuntu-latest + strategy: + matrix: + language_code: [ "${{ inputs.language_code }}" ] steps: - name: Checkout current repository @@ -35,7 +38,7 @@ jobs: - name: Clone translation run: | - git clone https://github.com/python/python-docs-${{ inputs.language_code }}.git translation-repo + git clone https://github.com/python/python-docs-${{ matrix.language_code }}.git translation-repo - name: Generate POT files run: | @@ -86,4 +89,4 @@ jobs: with: name: potodo-results-${{ inputs.language_code }} path: potodo-results.txt - retention-days: 30 \ No newline at end of file + retention-days: 30