Skip to content

Commit 92a352e

Browse files
committed
feat: publish to pantry registry on release
Adds a Publish to Pantry step that uses the pantry action with publish: zig to upload the package to registry.pantry.dev/zig/publish on every tagged release. Requires PANTRY_TOKEN secret to be set in the repo.
1 parent 6a19674 commit 92a352e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,16 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16+
1617
- name: Create Release
1718
uses: stacksjs/action-releaser@v1.2.9
1819
env:
1920
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
22+
- name: Publish to Pantry
23+
uses: home-lang/pantry/packages/action@main
24+
with:
25+
publish: zig
26+
install: 'false'
27+
env:
28+
PANTRY_TOKEN: ${{ secrets.PANTRY_TOKEN }}

0 commit comments

Comments
 (0)