File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : " Release"
3
+ on : " workflow_dispatch"
4
+ jobs :
5
+ build :
6
+ name : " Build"
7
+ runs-on : " ubuntu-22.04"
8
+ steps :
9
+ - name : " Check out repository"
10
+ uses : " actions/checkout@v4"
11
+ - name : " Set up Python"
12
+ uses : " actions/setup-python@v4"
13
+ with :
14
+ python-version : " 3.9"
15
+ - name : " Build distribution packages"
16
+ run : make package-check
17
+ - name : " Save distribution directory"
18
+ uses : " actions/upload-artifact@v3"
19
+ with :
20
+ name : " distribution"
21
+ path : |
22
+ dist
23
+ upload :
24
+ name : " Upload"
25
+ needs : " build"
26
+ runs-on : " ubuntu-22.04"
27
+ environment : " release"
28
+ permissions :
29
+ id-token : " write"
30
+ steps :
31
+ - name : " Restore distribution directory"
32
+ uses : " actions/download-artifact@v3"
33
+ with :
34
+ name : " distribution"
35
+ path : |
36
+ dist
37
+ - name : " Upload distribution packages to PyPI"
38
+ uses : " pypa/gh-action-pypi-publish@release/v1"
Original file line number Diff line number Diff line change 6
6
branches :
7
7
- " master"
8
8
jobs :
9
- tox :
9
+ test :
10
10
name : " Test Python ${{ matrix.python-version }}"
11
11
runs-on : " ubuntu-22.04"
12
12
strategy :
You can’t perform that action at this time.
0 commit comments