Bump to version 7.0.0 #34
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to WordPress.org | |
env: | |
# Can't specify the VERSION, or the plugin will deploy in that version. | |
# VERSION: 3.4.0 | |
NODE_VERSION: '20.11.0' | |
PHP_VERSION: '8.3' | |
TZ: 'America/New_York' | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
tag: | |
name: New tag | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install WP-CLI | |
run: | | |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
chmod +x wp-cli.phar | |
sudo mv wp-cli.phar /usr/local/bin/wp | |
- name: Generate PHP translations | |
shell: bash | |
run: cd ${{github.workspace}}/languages && wp i18n make-php . | |
- name: WordPress Plugin Deploy | |
uses: 10up/action-wordpress-plugin-deploy@stable | |
env: | |
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} | |
SVN_USERNAME: ${{ secrets.SVN_USERNAME }} |