-
Notifications
You must be signed in to change notification settings - Fork 1
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 #765 from vektor-inc/fix/old-death
【9.72でマージ】非推奨パッケージを抹殺抹消
- Loading branch information
Showing
64 changed files
with
271 additions
and
7,765 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,35 @@ | ||
tests | ||
bin | ||
dist | ||
.wordpress-org | ||
.git | ||
.github | ||
_notes/ | ||
bin/ | ||
dist/ | ||
docs/ | ||
node_modules/ | ||
tests/ | ||
.wordpress-org/ | ||
.git/ | ||
.github/ | ||
.distignore | ||
.eslintrc.js | ||
.gitignore | ||
.node-version | ||
.phpcs.xml | ||
.phpunit.xml | ||
.svnignore | ||
.wp-env.json | ||
.phpcs.xml | ||
.wp-env.json | ||
.wp-env.override.json | ||
.DS_Store | ||
composer.json | ||
composer.lock | ||
docker-compose.yml | ||
Dockerfile | ||
gulpfile.js | ||
package-lock.json | ||
package.json | ||
README.md | ||
readme.md | ||
*sftp-config.json | ||
node_modules/ | ||
.DS_Store | ||
Thumbs.db | ||
_notes/ | ||
*~ | ||
*sftp-config.json | ||
*.before | ||
.wp-env.override.json | ||
*.override.json | ||
*.override.json |
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 |
---|---|---|
|
@@ -8,16 +8,32 @@ env: | |
plugin_name: vk-all-in-one-expansion-unit | ||
|
||
jobs: | ||
tag: | ||
name: Deploy to plugin directory | ||
plugin-deploy: | ||
name: Deploy to Wordpress.org plugin directory | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: Build | ||
run: composer install --optimize-autoloader --prefer-dist --no-dev | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.19.0 | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 7.4 | ||
- name: install npm scripts | ||
run: npm install | ||
- name: install Composer Package | ||
run: composer install | ||
- 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 | ||
mv wp-cli.phar /usr/local/bin/wp | ||
- name: npm Build | ||
run: npm run build | ||
- name: Make Distribution | ||
run: npm run dist:org | ||
if: contains(github.ref, 'tags/') | ||
|
||
- name: WordPress Plugin Deploy | ||
uses: 10up/action-wordpress-plugin-deploy@master | ||
env: | ||
|
@@ -29,15 +45,30 @@ jobs: | |
name: Release to GitHub | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: bash bin/dist | ||
|
||
- name: Composer install | ||
run: composer install --optimize-autoloader --prefer-dist --no-dev | ||
if: contains(github.ref, 'tags/') | ||
|
||
- run: echo "DIST_VERSION=$(echo ${{ github.ref }} | sed -E 's/^refs\/tags\/v?(.*)$/\1/')" >> $GITHUB_ENV | ||
- run: test -e dist/${{ env.plugin_name }}_v${{ env.DIST_VERSION }}.zip | ||
- uses: actions/checkout@master | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.19.0 | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 7.4 | ||
- name: install npm scripts | ||
run: npm install | ||
- name: install Composer Package | ||
run: composer install | ||
- 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 | ||
mv wp-cli.phar /usr/local/bin/wp | ||
- name: npm Build | ||
run: npm run build | ||
- name: Make Distribution | ||
run: | | ||
npm run dist:github | ||
cd dist/ && zip -r ${{ env.plugin_name }}.zip ${{ env.plugin_name }}/ | ||
- run: test -e dist/${{ env.plugin_name }}.zip | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
|
@@ -48,14 +79,14 @@ jobs: | |
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: false | ||
- run : test -e dist/${{ env.plugin_name }}_v${{ env.DIST_VERSION }}.zip | ||
- run : test -e dist/${{ env.plugin_name }}.zip | ||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./dist/${{ env.plugin_name }}_v${{ env.DIST_VERSION }}.zip | ||
asset_name: ${{ env.plugin_name }}_v${{ env.DIST_VERSION }}.zip | ||
asset_path: ./dist/${{ env.plugin_name }}.zip | ||
asset_name: ${{ env.plugin_name }}.zip | ||
asset_content_type: application/zip |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.