mirror of
https://github.com/schpet/linear-cli.git
synced 2026-09-14 14:26:50 +08:00
24 lines
466 B
YAML
24 lines
466 B
YAML
# .github/workflows/publish.yml
|
|
|
|
name: Publish
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
id-token: write # The OIDC ID token is used for authentication with JSR.
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: denoland/setup-deno@v2
|
|
with:
|
|
deno-version: v2.x
|
|
- name: Generate GraphQL code
|
|
run: deno task codegen
|
|
- run: npx jsr publish
|