Skip to content

Commit

Permalink
build zip archive
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksiikhr committed Jul 9, 2022
1 parent 8cb2f67 commit 41a96d2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,13 @@ jobs:
- run: pnpm test
- run: pnpm build

- name: Zip public folder
working-directory: ./src/UI/app/public
if: startsWith(github.ref, 'refs/tags/')
run: zip -r extension.zip *

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: src/UI/app/public/*
files: src/UI/app/public/extension.zip

0 comments on commit 41a96d2

Please sign in to comment.