From 06828880be8ee031aa5a30807543ce53bed5ae66 Mon Sep 17 00:00:00 2001 From: Thiago Alves Date: Tue, 14 Apr 2026 13:33:19 -0400 Subject: [PATCH] fix(ci): remove redundant mv in npm pack step npm pack already produces the file named strucpp-.tgz, so the mv command fails with "same file" error. Use a glob pattern in the upload step instead. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c4535f..6bc6435 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -312,14 +312,12 @@ jobs: run: npm run build - name: Create npm tarball - run: | - npm pack - mv strucpp-*.tgz "strucpp-${VERSION}.tgz" + run: npm pack - uses: actions/upload-artifact@v4 with: name: strucpp-npm - path: strucpp-${{ needs.prepare.outputs.version }}.tgz + path: strucpp-*.tgz # --------------------------------------------------------------------------- # VSCode Extension (.vsix)