diff --git a/.github/workflows/wporg-assets-update.yml b/.github/workflows/wporg-assets-update.yml index 417729b..ca82da7 100644 --- a/.github/workflows/wporg-assets-update.yml +++ b/.github/workflows/wporg-assets-update.yml @@ -11,6 +11,15 @@ jobs: - name: Checkout repository uses: actions/checkout@master + - name: Install Subversion. + run: | + # Check if SVN is installed, if not install it. + if ! command -v svn &> /dev/null + then + sudo apt-get update -y + sudo apt-get install -y subversion + fi + - name: Remove readme.md from WordPress.org deploy. run: | git rm readme.md diff --git a/.github/workflows/wporg-deploy.yml b/.github/workflows/wporg-deploy.yml index 422986a..54c6114 100644 --- a/.github/workflows/wporg-deploy.yml +++ b/.github/workflows/wporg-deploy.yml @@ -19,6 +19,15 @@ jobs: git config --global user.name "10upbot on GitHub" git commit -m "Remove readme.md for WordPress.org deploy" + - name: Install Subversion. + run: | + # Check if SVN is installed, if not install it. + if ! command -v svn &> /dev/null + then + sudo apt-get update -y + sudo apt-get install -y subversion + fi + - name: WordPress Plugin Deploy id: deploy uses: 10up/action-wordpress-plugin-deploy@stable