diff --git a/.github/workflows/deploy-on-release-to-dot-org.yml b/.github/workflows/deploy-on-release-to-dot-org.yml index 8865b217..4cd5062a 100644 --- a/.github/workflows/deploy-on-release-to-dot-org.yml +++ b/.github/workflows/deploy-on-release-to-dot-org.yml @@ -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: