Skip to content

Commit 90566b4

Browse files
authored
Fix reusability of language dir variable in sync.yml
1 parent 262511b commit 90566b4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/sync.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ env:
2121
PYDOC_TX_PROJECT: ${{ inputs.tx_project }}
2222
PYDOC_VERSION: ${{ inputs.version }}
2323
TX_CLI_VERSION: '1.6.16'
24-
LANGUAGE_DIR: cpython/Doc/locales/${{ env.PYDOC_LANGUAGE }}/LC_MESSAGES
25-
2624

2725
jobs:
2826
sync:
@@ -40,6 +38,10 @@ jobs:
4038
repository: 'python/cpython'
4139
ref: ${{ env.PYDOC_VERSION }}
4240
path: cpython
41+
42+
- name: Set language dir variable
43+
run:
44+
echo "LANGUAGE_DIR=cpython/Doc/locales/$PYDOC_LANGUAGE/LC_MESSAGES" >> $GITHUB_ENV
4345

4446
- name: Checkout this repository ${{ env.PYDOC_VERSION }}
4547
uses: actions/checkout@v4

0 commit comments

Comments
 (0)