File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 1212 strategy :
1313 matrix :
1414 os : [ubuntu-latest, windows-latest, macos-latest]
15- python-version : [3.7 ]
15+ python-version : [3.6, 3.7, 3.8 ]
1616
1717 runs-on : ${{ matrix.os }}
1818
@@ -33,18 +33,15 @@ jobs:
3333 poetry config virtualenvs.create false
3434 poetry install --no-root
3535 shell : bash
36- - name : Create package artifacts
36+ - name : Create tarball
37+ if : matrix.os == 'ubuntu-latest' && matrix.python-version == 3.7
3738 run : |
38- task build
39+ task build -f sdist
3940 shell : bash
40- - name : Remove redundant files
41- if : success()
41+ - name : Create wheel
42+ if : matrix.os == 'windows-latest' || matrix.os == 'macos-latest'
4243 run : |
43- if [ "$RUNNER_OS" == "Linux" ]; then
44- find dist/ -type f -iname *.whl -delete
45- else
46- find dist/ -type f -iname *.tar.gz -delete
47- fi
44+ task build -f wheel
4845 shell : bash
4946 - name : Upload artifacts
5047 if : success()
You can’t perform that action at this time.
0 commit comments