Skip to content

Commit

Permalink
fix: wrong semrel github config
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadmusair committed Jun 24, 2022
1 parent 0226b12 commit da80adb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ jobs:
name: build
path: build

- name: Zip Assets
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
zip -r buid.zip ./build
zip -r coverage.zip ./coverage
- name: Create a Release
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: npx semantic-release
Expand Down
5 changes: 4 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ module.exports = {
[
"@semantic-release/github",
{
assets: "build",
assets: [
{ path: "build.zip", label: "Build" },
{ path: "coverage.zip", label: "Coverage" },
],
},
],
],
Expand Down

0 comments on commit da80adb

Please sign in to comment.