From 037ac102923b18de9b0bbebc1055e537da2267c9 Mon Sep 17 00:00:00 2001 From: Ilnur Basyrov Date: Mon, 23 Dec 2024 14:59:22 +0400 Subject: [PATCH] Updated github actions --- .github/workflows/build-zip.yml | 9 +++++++-- .github/workflows/plugin-assets-deploy.yml | 9 ++++++++- .github/workflows/release-deploy.yml | 7 +++++++ 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-zip.yml b/.github/workflows/build-zip.yml index 206bda73..82cfba1b 100644 --- a/.github/workflows/build-zip.yml +++ b/.github/workflows/build-zip.yml @@ -9,7 +9,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@master + + - name: Install SVN ( Subversion ) + run: | + sudo apt-get update + sudo apt-get install subversion - name: Generate zip uses: 10up/action-wordpress-plugin-build-zip@stable @@ -17,4 +22,4 @@ jobs: SLUG: ecwid-shopping-cart - name: Output artifact URL - run: echo 'Artifact URL is ${{ steps.upload-plugin-artifact.outputs.artifact-url }}' + run: echo 'Artifact URL is ${{ steps.upload-plugin-artifact.outputs.artifact-url }}' \ No newline at end of file diff --git a/.github/workflows/plugin-assets-deploy.yml b/.github/workflows/plugin-assets-deploy.yml index 319e1b79..eb50970a 100644 --- a/.github/workflows/plugin-assets-deploy.yml +++ b/.github/workflows/plugin-assets-deploy.yml @@ -10,7 +10,14 @@ jobs: if: "contains(github.event.head_commit.message, 'readme update')" environment: wordpress steps: - - uses: actions/checkout@master + - name: Checkout + uses: actions/checkout@master + + - name: Install SVN ( Subversion ) + run: | + sudo apt-get update + sudo apt-get install subversion + - name: WordPress.org plugin asset/readme update uses: 10up/action-wordpress-plugin-asset-update@stable env: diff --git a/.github/workflows/release-deploy.yml b/.github/workflows/release-deploy.yml index aa4feeb5..ba14313c 100644 --- a/.github/workflows/release-deploy.yml +++ b/.github/workflows/release-deploy.yml @@ -10,6 +10,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@master + + - name: Install SVN ( Subversion ) + run: | + sudo apt-get update + sudo apt-get install subversion + - name: WordPress Plugin Deploy id: deploy uses: 10up/action-wordpress-plugin-deploy@stable @@ -19,6 +25,7 @@ jobs: SVN_USERNAME: ${{ secrets.SVN_USERNAME }} SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} SLUG: ecwid-shopping-cart + - name: Upload release asset uses: actions/upload-release-asset@v1 env: