Skip to content

Commit

Permalink
Install wp-cli using php phar
Browse files Browse the repository at this point in the history
  • Loading branch information
sanzeeb3 committed Nov 5, 2024
1 parent efb05c0 commit 5280b0d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/gpt-po.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ jobs:

- name: Install WP-CLI
run: |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/keys/cli.key
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/keys/cli.pub
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/installer.sh
chmod +x installer.sh
./installer.sh --install-dir=/usr/local/bin --filename=wp
bash installer.sh --install-dir=/usr/local/bin --filename=wp
wp --info # Verify WP-CLI installation
- name: Run GPT-PO Command
Expand Down

0 comments on commit 5280b0d

Please sign in to comment.