Skip to content

Commit 5cd085e

Browse files
committed
fix asset step
1 parent 7f5ce0e commit 5cd085e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
with:
2222
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2323
tag_prefix: "v"
24-
package_root: "build/"
2524
- name: Publish on NPM
2625
if: "!contains(github.event.head_commit.message, '[skip publish]')"
2726
uses: JS-DevTools/npm-publish@v1
@@ -45,6 +44,6 @@ jobs:
4544
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4645
with:
4746
upload_url: ${{ steps.create_release.outputs.upload_url }}
48-
asset_path: ./package.tgz
49-
asset_name: package.tgz
47+
asset_path: ./release.tgz
48+
asset_name: release.tgz
5049
asset_content_type: application/tgz

0 commit comments

Comments
 (0)