-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #201 from PurpleTurtleCreative/release-v4
Release v4.0.0 – WordPress.org Plugins official listing and hosting
- Loading branch information
Showing
93 changed files
with
10,331 additions
and
10,239 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: PHPCS Check | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '**.php' | ||
|
||
jobs: | ||
phpcs: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '7.2' | ||
|
||
- name: Install Composer dependencies | ||
run: composer install | ||
|
||
- name: Run PHPCS | ||
run: | | ||
vendor/bin/phpcs -n --ignore="*/vendor/*" --extensions=php . |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Publish Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
- "!v**-rc.*" | ||
|
||
jobs: | ||
tag: | ||
name: New release | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build - Install | ||
run: ./build_install.sh | ||
shell: bash | ||
|
||
- name: Bundle Package | ||
run: ./bundle.sh | ||
shell: bash | ||
|
||
- name: Upload ZIP File | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ env.PTC_PLUGIN_ZIP_FILE_BASENAME }} | ||
path: ${{ env.PTC_PLUGIN_ZIP_FILE }} | ||
|
||
- name: Publish WordPress Plugin Release | ||
uses: 10up/action-wordpress-plugin-deploy@stable | ||
with: | ||
dry-run: true | ||
generate-zip: false | ||
env: | ||
SVN_USERNAME: ${{ secrets.WPORG_SVN_USERNAME }} | ||
SVN_PASSWORD: ${{ secrets.WPORG_SVN_PASSWORD }} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.