Skip to content

Commit

Permalink
Update build-extension.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
D3VL-Jack committed Jul 15, 2023
1 parent 54f9753 commit 422cf43
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ jobs:
run: npm run build
- name: Zip Extension
run: zip -r ${{github.ref_name}}.zip build
- name: Create Release
run: |
gh release create ${{github.ref_name}} -F ${{github.ref_name}}.zip
gh release upload ${{github.ref_name}} ${{github.ref_name}}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ${{github.ref_name}}.zip
draft: true
prerelease: true
tag_name: ${{github.ref_name}}
token: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 422cf43

Please sign in to comment.