From 800f1f6c498d8ad109b9da70b3c53f107026b159 Mon Sep 17 00:00:00 2001 From: Edgaras Date: Wed, 31 Jul 2024 12:44:05 +0300 Subject: [PATCH] Release 3.0.9 --- .github/workflows/woo-publish.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/woo-publish.yml b/.github/workflows/woo-publish.yml index c40aabf..fa28715 100644 --- a/.github/workflows/woo-publish.yml +++ b/.github/workflows/woo-publish.yml @@ -48,7 +48,12 @@ jobs: ../phpcs/bin/phpcbf -n --standard=WordPress src/ --ignore=/src/$WHITELABEL-sdk || true; ../phpcs/bin/phpcs -n --standard=WordPress src/ --ignore=/src/$WHITELABEL-sdk || true; + - name: Check if file exists + id: check_file + run: echo "file_exists=$(test -e ${{ vars.WORDPRESS_ORG_SLUG }}.zip && echo true || echo false)" >> $GITHUB_ENV + - name: Upload binaries to Github release + if: env.file_exists == 'true' uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }}