Skip to content

Commit 4698f4d

Browse files
authored
Onboard OSB to use GHA for PyPi Release (#824)
Signed-off-by: Ian Hoang <ianhoang16@gmail.com>
1 parent 2bd6e27 commit 4698f4d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/publish-release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
jobs:
99
publish-release:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
id-token: write
13+
contents: write
14+
issues: write
1115
steps:
1216
- name: Checkout Repository
1317
uses: actions/checkout@v3
@@ -33,6 +37,9 @@ jobs:
3337
make build
3438
tar zcvf artifacts.tar.gz dist
3539
40+
- name: Publish package distributions to PyPI
41+
uses: pypa/gh-action-pypi-publish@release/v1
42+
3643
- name: Publish release
3744
uses: softprops/action-gh-release@v1
3845
with:

0 commit comments

Comments
 (0)