File tree 2 files changed +29
-3
lines changed
2 files changed +29
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Upload Python Package
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ deploy :
9
+
10
+ runs-on : ubuntu-latest
11
+
12
+ permissions :
13
+ # IMPORTANT: this permission is mandatory for trusted publishing
14
+ id-token : write
15
+
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - name : Set up Python
19
+ uses : actions/setup-python@v5
20
+ with :
21
+ python-version : ' 3.x'
22
+ - name : Install dependencies
23
+ run : |
24
+ python -m pip install --upgrade pip
25
+ python -m pip install build
26
+ - name : Build package
27
+ run : python -m build
28
+ - name : Publish package distributions to PyPI
29
+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -56,9 +56,6 @@ Please have a look at the [Contributing Guidelines](https://github.com/radish-bd
56
56
```
57
57
vim CHANGELOG.md docs/conf.py radish/__init__.py
58
58
git commit -am "release: vX.X.X" && git tag vX.X.X && git push && git push --tags
59
- rm -rf dist
60
- python3 setup.py sdist bdist_wheel
61
- python3 -m twine upload dist/*
62
59
```
63
60
64
61
# Special Thanks
You can’t perform that action at this time.
0 commit comments