Skip to content

Commit

Permalink
v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
igorchernenko92 committed Mar 28, 2020
1 parent cd1c7a9 commit b431ba5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b431ba5

Please sign in to comment.