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
11
+
with:
12
+
attest-package: "true"
12
13
14
+
deploy:
15
+
depends-on: create_wheel_and_sdist
13
16
runs-on: ubuntu-latest
17
+
18
+
environment: pypi
19
+
permissions:
20
+
id-token: write. # IMPORTANT: this permission is mandatory for Trusted Publishing
0 commit comments