From ac1535f4b54ac0dcd1163c4a46301c3f3f4770c4 Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Mon, 6 Jun 2022 08:23:28 -0300 Subject: [PATCH] ci: use wp-cli/wp-cli-bundle --- .github/workflows/update-pot.yml | 4 +--- .github/workflows/update-translations.yml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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