Skip to content

Commit 85ed32a

Browse files
committed
ci(publish): add attestations and generate parser
1 parent 1619d4a commit 85ed32a

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/publish.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,35 @@
1-
name: Publish package
1+
name: Publish packages
22

33
on:
44
push:
55
tags: ["*"]
66

7-
concurrency:
8-
group: ${{github.workflow}}-${{github.ref}}
9-
cancel-in-progress: true
7+
permissions:
8+
contents: write
9+
id-token: write
10+
attestations: write
1011

1112
jobs:
1213
github:
1314
uses: tree-sitter/workflows/.github/workflows/release.yml@main
15+
with:
16+
generate: true
17+
attestations: true
1418
npm:
1519
uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main
1620
secrets:
1721
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
22+
with:
23+
generate: true
1824
crates:
1925
uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main
2026
secrets:
2127
CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_REGISTRY_TOKEN}}
28+
with:
29+
generate: true
2230
pypi:
2331
uses: tree-sitter/workflows/.github/workflows/package-pypi.yml@main
2432
secrets:
2533
PYPI_API_TOKEN: ${{secrets.PYPI_API_TOKEN}}
34+
with:
35+
generate: true

0 commit comments

Comments
 (0)