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 workflows will upload a Python Package using Twine when a release is created
2
-
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3
-
4
1
name: Upload Python Package
5
2
6
3
on:
7
4
release:
8
5
types: [created]
9
6
10
7
jobs:
11
-
deploy:
8
+
create_wheel_and_sdist:
9
+
name: create_wheel_and_sdist
10
+
uses: ./.github/workflows/main.yml
12
11
12
+
deploy:
13
+
needs: [ create_wheel_and_sdist ]
13
14
runs-on: ubuntu-latest
15
+
16
+
environment: pypi
17
+
permissions:
18
+
id-token: write # IMPORTANT: this permission is mandatory for Trusted Publishing
0 commit comments