Skip to content

Commit

Permalink
fix: fixup previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarIthawi committed May 18, 2024
1 parent 92cfc5e commit 0584954
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/extract-translation-source-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,12 @@ jobs:
const allGenericRepos = [
{
repo: 'tutor-contrib-aspects',
transifex_file_path: 'transifex_input.yaml'
transifex_file_path: 'transifex_input.yaml',
},
{
repo: 'openedx-app-ios',
transifex_file_path: 'I18N/en.lproj/Localizable.strings'
transifex_file_path: 'I18N/en.lproj/Localizable.strings',
before_extract: 'make translation_requirements',
},
]
Expand Down Expand Up @@ -421,13 +422,12 @@ jobs:
- name: install requirements
run: pip install -r requirements/translations.txt

- name: install requirements from the repository
- name: run optional pre-extraction step
if: "${{ matrix.repository_config.before_extract }}"
run: |
# If the repository has additional requirements, install them
# If the repository has additional requirements or processing steps run them
cd translations/${{ matrix.repository_config.repo }}
if make --just-print translation_requirements; then
make translation_requirements;
fi
${{ matrix.repository_config.before_extract }}
# Extracts the translation source files
- name: extract translation source files
Expand Down

0 comments on commit 0584954

Please sign in to comment.