Add actions to publish to JSR (#3618)
add it to change-version.sh and publish action
This commit is contained in:
16
.github/workflows/jsr_on_release.yml
vendored
Normal file
16
.github/workflows/jsr_on_release.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Publish typescript-client on JSR
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: ${{ secrets.JSR_OIDC_ID_TOKEN }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: cd typescript-client && ./publish.jsr.sh
|
||||
Reference in New Issue
Block a user