diff --git a/.github/workflows/update-pot.yml b/.github/workflows/update-pot.yml index 6b1c630..1ad0822 100644 --- a/.github/workflows/update-pot.yml +++ b/.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 diff --git a/.github/workflows/update-translations.yml b/.github/workflows/update-translations.yml index 4cb1d3d..e42e0cb 100644 --- a/.github/workflows/update-translations.yml +++ b/.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