From 6491fd16b502ab2a33b7bbcdf2d7a2791e7ee552 Mon Sep 17 00:00:00 2001 From: dillix Date: Thu, 15 Dec 2022 20:38:52 +0300 Subject: [PATCH] Fixes for release builder script (#96) * Added PHP 8+ support * Update CHANGELOG.md Co-authored-by: Roman Sedykh * Update CHANGELOG.md Co-authored-by: Roman Sedykh * Updated .distignore for PHP 8+ compatibility * Revert "Updated .distignore for PHP 8+ compatibility" This reverts commit 02664440d090b0fad8e603c5ce5ee6b59ef8c81e. * Revert "Revert "Updated .distignore for PHP 8+ compatibility"" This reverts commit d6cf380e6cdce1b7ccf866ac78be61d2b4018215. * Masked secret key for security purposes * Masked secret key for security purposes * Update CHANGELOG.md Co-authored-by: Roman Sedykh * Update readme.txt Co-authored-by: Roman Sedykh * Fixed yarn build with node.js * Updated Uploadcare widget * Fixed building release script Co-authored-by: Roman Sedykh --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3cdba54..35a1a47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,10 +23,11 @@ jobs: - name: Install npm dependencies run: | curl -sS https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add - - echo "deb https://deb.nodesource.com/node_16.x focal main" | sudo tee /etc/apt/sources.list.d/nodesource.list + echo "deb https://deb.nodesource.com/node_17.x focal main" | sudo tee /etc/apt/sources.list.d/nodesource.list curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list - sudo apt update && sudo apt install nodejs node-gyp libssl1.0-dev yarn + sudo apt update && sudo apt install -y nodejs yarn + sudo npm install -g node-gyp yarn --version yarn && yarn run build rm -rf node_modules @@ -36,7 +37,7 @@ jobs: name: uploadcare-wp path: . - name: WordPress Plugin Deploy - uses: 10up/action-wordpress-plugin-deploy@98923950204e68db278a958aa8b71e3b07904140 + uses: 10up/action-wordpress-plugin-deploy@stable env: SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} SVN_USERNAME: ${{ secrets.SVN_USERNAME }}