Browse Source

ci: use wp-cli/wp-cli-bundle

pull/335/head
Ned Zimmerman 4 years ago
parent
commit
ac1535f4b5
  1. 4
      .github/workflows/update-pot.yml
  2. 4
      .github/workflows/update-translations.yml

4
.github/workflows/update-pot.yml

@ -17,9 +17,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
tools: composer, wp-cli
- name: Install dependencies
run: wp package install wp-cli/i18n-command:2.2.8
tools: composer, wp-cli/wp-cli-bundle
- name: Update POT file
run: wp i18n make-pot . languages/pressbooks-aldine.pot --domain=pressbooks-aldine --slug=pressbooks-aldine --package-name="Aldine" --headers="{\"Report-Msgid-Bugs-To\":\"https://github.com/pressbooks/pressbooks-aldine/issues\"}"
# Remove this step once you are satisfied with the results; alternatively, you can leave it in place and remove

4
.github/workflows/update-translations.yml

@ -19,9 +19,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
tools: composer, wp-cli
- name: Install dependencies
run: wp package install wp-cli/i18n-command
tools: composer, wp-cli/wp-cli-bundle
- name: Generate MO files
run: wp i18n make-mo languages
# Remove this step once you are satisfied with the results; alternatively, you can leave it in place and remove

Loading…
Cancel
Save