File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ release :
3
+ types :
4
+ - published
5
+
6
+ name : Release
7
+
8
+ permissions :
9
+ # IMPORTANT: this permission is mandatory for trusted publishing
10
+ id-token : write
11
+
12
+ jobs :
13
+ pypi-publish :
14
+ name : Upload release to PyPI
15
+ runs-on : ubuntu-latest
16
+ environment :
17
+ name : pypi
18
+ url : https://pypi.org/p/devpi-timemachine
19
+ steps :
20
+ - uses : actions/checkout@v3
21
+
22
+ - name : Set up Python
23
+ uses : actions/setup-python@v4
24
+ with :
25
+ python-version : 3.11
26
+
27
+ - name : Install pypa/build
28
+ run : python -m pip install build --user
29
+
30
+ - name : Build a binary wheel and a source tarball
31
+ run : python -m build --sdist --wheel --outdir dist/
32
+
33
+ - name : Publish package distributions to PyPI
34
+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments