Skip to content

Commit

Permalink
Install SVN in deploy container if not already there
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonwebz committed Jan 17, 2025
1 parent 460952e commit eab96c8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/deploy-on-release-to-dot-org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ jobs:
tools: composer:v2
coverage: none

# Some images won't have svn available. Install it if that's the case.
- name: Install SVN
run: |
if ! command -v svn &> /dev/null; then
echo "Installing SVN..."
sudo apt-get update || { echo "Failed to update package lists"; exit 1; }
sudo apt-get install -y subversion || { echo "Failed to install SVN"; exit 1; }
else
echo "SVN is already installed"
fi
- name: Setup Node.js
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit eab96c8

Please sign in to comment.