Skip to content

Commit

Permalink
fix: upload build artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
hyldmo committed Jul 26, 2023
1 parent 6bd3d5c commit 6297f9d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,14 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/upload-artifact@v3
with:
name: dist
path: dist/release.zip

- name: Upload & release
uses: mnao305/[email protected]
if: ${{ steps.semver.outputs.VERSION != '' }}
with:
file-path: dist/release.zip
extension-id: pjegkjcbjfoldlpcbjniaceihlkjdkeg
Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ module.exports = {
}
],
'@semantic-release/release-notes-generator',
'@semantic-release/github'
['@semantic-release/github', { assets: [{ path: 'dist/release.zip', label: 'Dist' }] }]
]
}

0 comments on commit 6297f9d

Please sign in to comment.