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+ name : Python Test and Package
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ tags :
8+ - ' v*'
9+ pull_request :
10+ branches :
11+ - master
12+
13+ jobs :
14+ build :
15+ strategy :
16+ matrix :
17+ os : [ubuntu-latest, macos-latest]
18+ python-version : ['3.7', '3.10']
19+ runs-on : ${{ matrix.os }}
20+ steps :
21+ - uses : actions/checkout@v3
22+ with :
23+ fetch-depth : 1
24+ submodules : true
25+ - name : Set up Python ${{ matrix.python-version }}
26+ uses : actions/setup-python@v2
27+ with :
28+ python-version : ${{ matrix.python-version }}
29+ - name : Install tools
30+ run : |
31+ python -m pip install --upgrade pip
32+ python -m pip install build
33+ - name : Build Package
34+ run : |
35+ python -m build
36+ - name : List
37+ run : |
38+ ls -la dist
You can’t perform that action at this time.
0 commit comments