Skip to content

Commit 3284f7e

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 2f00cac commit 3284f7e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,11 @@ jobs:
7373
artifacts/regex-darwin-x64
7474
artifacts/regex-darwin-arm64
7575
artifacts/regex-windows-x64.exe
76+
77+
- name: Publish to Pantry
78+
uses: home-lang/pantry/packages/action@main
79+
with:
80+
publish: zig
81+
install: 'false'
82+
env:
83+
PANTRY_TOKEN: ${{ secrets.PANTRY_TOKEN }}

0 commit comments

Comments
 (0)