Skip to content

Commit c2abe51

Browse files
authored
feat: add publish workflow
1 parent a2164ef commit c2abe51

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Diff for: .github/workflows/publish.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 'Publish immutable action version'
2+
3+
on:
4+
release:
5+
types:
6+
- 'published'
7+
8+
jobs:
9+
publish:
10+
runs-on: 'ubuntu-latest'
11+
permissions:
12+
contents: 'read'
13+
id-token: 'write'
14+
packages: 'write'
15+
16+
steps:
17+
- name: 'Checkout'
18+
uses: 'actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' # ratchet:actions/checkout@v4
19+
20+
- name: 'Publish'
21+
id: 'publish'
22+
uses: 'actions/publish-immutable-action@4b1aa5c1cde5fedc80d52746c9546cb5560e5f53' # ratchet:actions/[email protected]
23+
with:
24+
github-token: '${{ secrets.GITHUB_TOKEN }}'

0 commit comments

Comments
 (0)