Skip to content

Commit

Permalink
Alter working dir for publishing to JSR
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Nov 27, 2024
1 parent 4536624 commit 9b10985
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish-jsr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,12 @@ jobs:
with:
node-version: 22

- name: Split tag name
env:
TAG: ${{ github.ref_name }}
id: tag
run: echo "::set-output name=package-name::${TAG%%@*}"

- name: Publish
working-directory: 'packages/${{ steps.tag.outputs.package-name }}'
run: npx jsr publish

0 comments on commit 9b10985

Please sign in to comment.