fix(release): remove redundant cp and use env var for bundle path
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
1 parent
78117421fd
commit
7e72022ffc
1 file changed
+2
-2
@@ -39,6 +39,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
TAG_NAME: ${{ github.ref_name }}
|
TAG_NAME: ${{ github.ref_name }}
|
||||||
|
BUNDLE_PATH: ${{ steps.bundle.outputs.path }}
|
||||||
run: |
|
run: |
|
||||||
cp "${{ steps.bundle.outputs.path }}" dist/index.js
|
gh release upload "$TAG_NAME" "$BUNDLE_PATH" --clobber
|
||||||
gh release upload "$TAG_NAME" dist/index.js --clobber
|
|
||||||
Reference in new issue
Block a user