-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (33 loc) · 897 Bytes
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Publish packages
on:
push:
tags: ["*"]
permissions:
contents: write
id-token: write
attestations: write
jobs:
github:
uses: tree-sitter/workflows/.github/workflows/release.yml@main
with:
generate: true
attestations: true
# would need to setup the requisite tokens and then re-enable.
# npm:
# uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
# secrets:
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
# with:
# generate: true
# crates:
# uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main
# secrets:
# CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_REGISTRY_TOKEN}}
# with:
# generate: true
# pypi:
# uses: tree-sitter/workflows/.github/workflows/package-pypi.yml@main
# secrets:
# PYPI_API_TOKEN: ${{secrets.PYPI_API_TOKEN}}
# with:
# generate: true