29 lines
609 B
YAML
29 lines
609 B
YAML
name: release
|
|
|
|
on:
|
|
push:
|
|
tags: ["*"]
|
|
|
|
concurrency:
|
|
group: ${{github.workflow}}-${{github.ref}}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: write
|
|
id-token: write
|
|
attestations: write
|
|
|
|
jobs:
|
|
release:
|
|
uses: tree-sitter/workflows/.github/workflows/release.yml@main
|
|
with:
|
|
attestations: true
|
|
npm:
|
|
uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
|
|
secrets:
|
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
|
crates:
|
|
uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main
|
|
secrets:
|
|
CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_TOKEN}}
|