File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Upload package
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ permissions :
8
+ contents : read
9
+
10
+ jobs :
11
+ test-package :
12
+ uses : ./.github/workflows/test-package.yml
13
+
14
+ upload-package :
15
+ needs : test-package
16
+
17
+ runs-on : ubuntu-latest
18
+ env :
19
+ INTERPRETER : python
20
+ PIP : python -m pip
21
+ TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
22
+
23
+ steps :
24
+ - uses : actions/checkout@v3
25
+ - name : Set up Python
26
+ uses : actions/setup-python@v3
27
+ with :
28
+ python-version : ' 3.x'
29
+ - name : Install package builder
30
+ run : make install-package-builder
31
+ - name : Build package
32
+ run : make build-package
33
+ - name : Install package uploader
34
+ run : make install-package-uploader
35
+ - name : Upload package
36
+ run : make upload-package
You can’t perform that action at this time.
0 commit comments