Skip to content

Commit 9b10985

Browse files
committed
Alter working dir for publishing to JSR
1 parent 4536624 commit 9b10985

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/publish-jsr.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,12 @@ jobs:
2121
with:
2222
node-version: 22
2323

24+
- name: Split tag name
25+
env:
26+
TAG: ${{ github.ref_name }}
27+
id: tag
28+
run: echo "::set-output name=package-name::${TAG%%@*}"
29+
2430
- name: Publish
31+
working-directory: 'packages/${{ steps.tag.outputs.package-name }}'
2532
run: npx jsr publish

0 commit comments

Comments
 (0)