You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This workflow will upload a Python Package using Twine when a release is created
2
-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3
-
4
-
name: Upload Python Package
1
+
name: Publish Python Package
5
2
6
3
on:
7
4
release:
8
5
types: [published]
9
6
10
-
permissions:
11
-
contents: read
12
-
13
-
env:
14
-
PIP_ROOT_USER_ACTION: ignore
15
-
16
7
jobs:
17
-
deploy:
8
+
publish:
18
9
runs-on: ubuntu-latest
19
-
10
+
environment: publish
11
+
permissions:
12
+
id-token: write # to authenticate as Trusted Publisher to pypi.org
0 commit comments