Skip to content

Commit

Permalink
Fixes for release builder script (#96)
Browse files Browse the repository at this point in the history
* Added  PHP 8+ support

* Update CHANGELOG.md

Co-authored-by: Roman Sedykh <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Roman Sedykh <[email protected]>

* Updated .distignore for PHP 8+ compatibility

* Revert "Updated .distignore for PHP 8+ compatibility"

This reverts commit 0266444.

* Revert "Revert "Updated .distignore for PHP 8+ compatibility""

This reverts commit d6cf380.

* Masked secret key for security purposes

* Masked secret key for security purposes

* Update CHANGELOG.md

Co-authored-by: Roman Sedykh <[email protected]>

* Update readme.txt

Co-authored-by: Roman Sedykh <[email protected]>

* Fixed yarn build with node.js

* Updated Uploadcare widget

* Fixed building release script

Co-authored-by: Roman Sedykh <[email protected]>
  • Loading branch information
dillix and rsedykh committed Dec 15, 2022
1 parent 90655f7 commit 6491fd1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 6491fd1

Please sign in to comment.