chore(deps): update songmu/tagpr action to v1.5.0 (#95) #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: π Release | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
tagpr: | |
name: π·οΈ Release a New Version | |
permissions: | |
contents: write | |
pull-requests: write | |
runs-on: Ubuntu-Latest | |
outputs: | |
tag: ${{ steps.tagpr.outputs.tag }} | |
steps: | |
- name: π Checkout Repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: π·οΈ Release a New Version | |
id: tagpr | |
uses: Songmu/tagpr@3dca11e7c0d68637ee212ddd35acc3d30a7403a4 # v1.5.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
publish: | |
name: π¦ Publish to JSR | |
permissions: | |
contents: read | |
id-token: write | |
needs: tagpr | |
if: ${{ needs.tagpr.outputs.tag != '' }} | |
runs-on: Ubuntu-Latest | |
steps: | |
- name: π Checkout Repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: π¦ Publish to JSR | |
run: npx jsr publish |