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
1
+
# This workflows will upload a Python Package when a release is created
3
2
4
3
name: Publish Python Package
5
4
@@ -8,12 +7,18 @@ on:
8
7
types: [ created ]
9
8
10
9
jobs:
11
-
deploy:
10
+
publish:
12
11
13
12
runs-on: ubuntu-latest
14
-
13
+
environment:
14
+
name: pypi
15
+
url: https://pypi.org/p/forecastmanager
16
+
permissions:
17
+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
0 commit comments