From b431ba54c9581a0f0e0f89262737d17fb10e73a7 Mon Sep 17 00:00:00 2001 From: Igor Chernenko Date: Sat, 28 Mar 2020 04:27:17 +0200 Subject: [PATCH] v1.1 --- .github/workflows/action.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 723838a..b6e06a5 100755 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -11,22 +11,26 @@ jobs: - name: Install dependencies run: composer install --prefer-dist --no-progress --no-suggest --no-dev + - name: Release + run: | + zip -r vendor.zip vendor + - uses: actions/upload-artifact@v1 with: - name: vendor - path: vendor + name: vendor.zip + path: vendor.zip - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - files: vendor + files: vendor.zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Remove if: startsWith(github.ref, 'refs/tags/') - run: rm vendor + run: rm -rf vendor.zip - name: WordPress Plugin Deploy uses: 10up/action-wordpress-plugin-deploy@master