From c172a3af3058c15f59e58474c75ac1161a2e848b Mon Sep 17 00:00:00 2001 From: Adrian Tobey Date: Wed, 4 Dec 2024 16:56:03 -0500 Subject: [PATCH] update actions --- .github/workflows/svn.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/svn.yml b/.github/workflows/svn.yml index 02ffd2c..a528032 100644 --- a/.github/workflows/svn.yml +++ b/.github/workflows/svn.yml @@ -3,19 +3,31 @@ on: push: tags-ignore: - "*.dev" + - "*.dev.*" - "*.beta" - "*.beta.*" - "*.alpha" - "*.alpha.*" + - "*.rc.*" jobs: tag: name: New tag runs-on: ubuntu-latest steps: - uses: actions/checkout@master + - name: Install Subversion + run: sudo apt-get install subversion - name: WordPress Plugin Deploy - uses: 10up/action-wordpress-plugin-deploy@master + with: + generate-zip: true + uses: 10up/action-wordpress-plugin-deploy@stable env: SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} SVN_USERNAME: ${{ secrets.SVN_USERNAME }} SLUG: mailhawk + - name: Create GitHub release + uses: softprops/action-gh-release@v1 + with: + files: ${{github.workspace}}/${{ github.event.repository.name }}.zip + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}