Skip to content

Commit

Permalink
CI: Add SVN install for ubuntu-latest
Browse files Browse the repository at this point in the history
When ubunutu-latest switches to be an alias for ubuntu-24.04, it will no longer have SVN available, so we need to manually install it before trying to use it in the subsequent action.
  • Loading branch information
GaryJones committed Dec 3, 2024
1 parent 4a0f0d1 commit e2d7f06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/plugin-assets-readme-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- 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
4 changes: 4 additions & 0 deletions .github/workflows/plugin-push-to-wordpress-org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install SVN (Subversion)
run: |
sudo apt-get update
sudo apt-get install subversion
- name: Push to WordPress.org
uses: 10up/action-wordpress-plugin-deploy@stable
env:
Expand Down

0 comments on commit e2d7f06

Please sign in to comment.