File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+
6
+ # GitHub recommends pinning actions to a commit SHA.
7
+ # To get a newer version, you will need to update the SHA.
8
+ # You can also reference a tag or branch, but the action may change without warning.
9
+
10
+ name : Upload Python Package
11
+
12
+ on :
13
+ release :
14
+ types : [published]
15
+
16
+ jobs :
17
+ deploy :
18
+ name : Upload release to PyPI
19
+ runs-on : ubuntu-latest
20
+ environment :
21
+ name : pypi
22
+ url : https://pypi.org/p/graphreadability
23
+ permissions :
24
+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
25
+ steps :
26
+ - uses : actions/checkout@v4
27
+ - name : Set up Python
28
+ uses : actions/setup-python@v4
29
+ with :
30
+ python-version : ' 3.x'
31
+ - name : Install dependencies
32
+ run : |
33
+ python -m pip install --upgrade pip
34
+ pip install build
35
+ - name : Build package
36
+ run : python -m build
37
+ # See https://github.com/marketplace/actions/pypi-publish
38
+ - name : Publish package distributions to PyPI
39
+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments