Skip to content

Commit b415380

Browse files
committed
Try this
1 parent 28f22de commit b415380

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,15 @@ jobs:
6262
# Write the output of the pack command to the PACKAGE environment variable
6363
# The output of the pack command is the path to generated the tarball
6464
# Used later to upload the artifact
65-
run: |
66-
PACKAGE_FILE=$(pnpm pack)
67-
echo "PACKAGE_FILE=$PACKAGE_FILE" >> $GITHUB_OUTPUT
65+
run: pnpm pack --out output
6866

6967
- name: Archive production artifacts
7068
uses: actions/upload-artifact@v4
7169
if: ${{ steps.check-tag.outputs.IS_RELEASE == 'true' }}
7270
with:
7371
name: package-file
7472
# Now we only need to upload the tarball which should have all the files npm cares for
75-
path: ${{ steps.pack.outputs.PACKAGE_FILE }}
73+
path: output
7674

7775
publish-npm:
7876
# Only publish when a release tag is pushed

0 commit comments

Comments
 (0)