Skip to content

Commit b058341

Browse files
authored
Merge pull request #132 from Emilia-Capital/develop
v2.1.1 - 2nd try
2 parents 8abbf3b + 0b05db1 commit b058341

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

.github/workflows/composer-diff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout
12+
uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0 # Required to make it possible to compare with PR base branch
1515

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
# Deploy the plugin to WordPress.org
1717
- name: WordPress plugin deploy
1818
id: deploy
19-
uses: 10up/action-wordpress-plugin-deploy@stable
19+
uses: 10up/action-wordpress-plugin-deploy@develop
2020
with:
2121
generate-zip: true
2222
env:

tests/bin/install-wp-tests.sh

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,32 @@ if [ $# -lt 3 ]; then
1313
exit 1
1414
fi
1515

16+
# Function to check if a command exists
17+
command_exists() {
18+
command -v "$1" >/dev/null 2>&1
19+
}
20+
21+
# Check if SVN is installed
22+
if command_exists svn; then
23+
echo "SVN is already installed."
24+
else
25+
echo "SVN is not installed. Installing SVN..."
26+
27+
# Update the package list
28+
sudo apt-get update -y
29+
30+
# Install SVN
31+
sudo apt-get install -y subversion
32+
33+
# Verify installation
34+
if command_exists svn; then
35+
echo "SVN was successfully installed."
36+
else
37+
echo "Failed to install SVN. Please check your system configuration."
38+
exit 1
39+
fi
40+
fi
41+
1642
DB_NAME=$1
1743
DB_USER=$2
1844
DB_PASS=$3

0 commit comments

Comments
 (0)