Skip to content

Commit e132bb2

Browse files
committed
Install SVN as part of own actions.
1 parent 5d749fe commit e132bb2

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/wporg-assets-update.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ jobs:
1111
- name: Checkout repository
1212
uses: actions/checkout@master
1313

14+
- name: Install Subversion.
15+
run: |
16+
# Check if SVN is installed, if not install it.
17+
if ! command -v svn &> /dev/null
18+
then
19+
sudo apt-get update -y
20+
sudo apt-get install -y subversion
21+
fi
22+
1423
- name: Remove readme.md from WordPress.org deploy.
1524
run: |
1625
git rm readme.md

.github/workflows/wporg-deploy.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ jobs:
1919
git config --global user.name "10upbot on GitHub"
2020
git commit -m "Remove readme.md for WordPress.org deploy"
2121
22+
- name: Install Subversion.
23+
run: |
24+
# Check if SVN is installed, if not install it.
25+
if ! command -v svn &> /dev/null
26+
then
27+
sudo apt-get update -y
28+
sudo apt-get install -y subversion
29+
fi
30+
2231
- name: WordPress Plugin Deploy
2332
id: deploy
2433
uses: 10up/action-wordpress-plugin-deploy@stable

0 commit comments

Comments
 (0)