mirror of
https://github.com/juherr/kill-the-news.git
synced 2026-06-20 22:03:48 +00:00
fix(release): remove redundant cp and use env var for bundle path
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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