Skip to content
This repository was archived by the owner on Dec 27, 2025. It is now read-only.

v0.13.0

v0.13.0 #22

Workflow file for this run

name: Publish
on:
release:
types: [published]
workflow_dispatch:
inputs:
tag:
description: "Release tag to publish (e.g., v0.7.0)"
required: true
type: string
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: 2.x
- name: Get version from tag
id: version
run: |
TAG="${{ inputs.tag || github.event.release.tag_name }}"
VERSION="${TAG#v}"
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
- name: Update version in deno.json
run: |
deno task update-version ${{ steps.version.outputs.version }}
- name: Publish to JSR
run: deno publish --allow-dirty