Skip to content

Commit

Permalink
Updated github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
meteor-ec committed Dec 23, 2024
1 parent cee31e1 commit 037ac10
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@master

- name: Install SVN ( Subversion )
run: |
sudo apt-get update
sudo apt-get install subversion
- name: Generate zip
uses: 10up/action-wordpress-plugin-build-zip@stable
env:
SLUG: ecwid-shopping-cart

- name: Output artifact URL
run: echo 'Artifact URL is ${{ steps.upload-plugin-artifact.outputs.artifact-url }}'
run: echo 'Artifact URL is ${{ steps.upload-plugin-artifact.outputs.artifact-url }}'
9 changes: 8 additions & 1 deletion .github/workflows/plugin-assets-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ jobs:
if: "contains(github.event.head_commit.message, 'readme update')"
environment: wordpress
steps:
- uses: actions/checkout@master
- name: Checkout
uses: actions/checkout@master

- name: Install SVN ( Subversion )
run: |
sudo apt-get update
sudo apt-get install subversion
- name: WordPress.org plugin asset/readme update
uses: 10up/action-wordpress-plugin-asset-update@stable
env:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@master

- name: Install SVN ( Subversion )
run: |
sudo apt-get update
sudo apt-get install subversion
- name: WordPress Plugin Deploy
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
Expand All @@ -19,6 +25,7 @@ jobs:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SLUG: ecwid-shopping-cart

- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit 037ac10

Please sign in to comment.