Skip to content

Commit 7c6d6f3

Browse files
authored
Use matrix to show language in job name (#6)
1 parent e814338 commit 7c6d6f3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/switcher-requirements-progress.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
jobs:
1212
run:
1313
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
language_code: [ "${{ inputs.language_code }}" ]
1417

1518
steps:
1619
- name: Checkout current repository
@@ -35,7 +38,7 @@ jobs:
3538
3639
- name: Clone translation
3740
run: |
38-
git clone https://github.com/python/python-docs-${{ inputs.language_code }}.git translation-repo
41+
git clone https://github.com/python/python-docs-${{ matrix.language_code }}.git translation-repo
3942
4043
- name: Generate POT files
4144
run: |
@@ -86,4 +89,4 @@ jobs:
8689
with:
8790
name: potodo-results-${{ inputs.language_code }}
8891
path: potodo-results.txt
89-
retention-days: 30
92+
retention-days: 30

0 commit comments

Comments
 (0)