Skip to content

Commit a680a3d

Browse files
authored
Merge pull request #63 from wyguy444/gha
use public github action for pypi release
2 parents 273d45e + 218001d commit a680a3d

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/client_build.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ on:
77
- main
88
workflow_dispatch:
99
jobs:
10-
call-workflow:
11-
uses: hearsaycorp/github-action-templates/.github/workflows/client_build.yaml@main
12-
with:
13-
repository_url: https://pypi.python.org/simple
14-
secrets: inherit
10+
pypi-publish:
11+
name: Upload release to PyPI
12+
runs-on: ubuntu-latest
13+
environment:
14+
name: pypi
15+
url: https://pypi.org/p/richenum
16+
permissions:
17+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
18+
steps:
19+
- name: Publish package distributions to PyPI
20+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)