From 7e72022ffc58f8843bd8705edce6ad2922f112bf Mon Sep 17 00:00:00 2001 From: Julien Herr Date: Fri, 22 May 2026 23:49:25 +0200 Subject: [PATCH] fix(release): remove redundant cp and use env var for bundle path Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d24186..64c1b9f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,6 @@ jobs: env: GH_TOKEN: ${{ github.token }} TAG_NAME: ${{ github.ref_name }} + BUNDLE_PATH: ${{ steps.bundle.outputs.path }} run: | - cp "${{ steps.bundle.outputs.path }}" dist/index.js - gh release upload "$TAG_NAME" dist/index.js --clobber + gh release upload "$TAG_NAME" "$BUNDLE_PATH" --clobber