File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ name: "Make and upload artifacts"
33inputs :
44 make-binary :
55 required : true
6- path :
6+ repair-manylinux :
77 required : false
8- default : dist/
8+ default : false
99
1010runs :
1111 using : " composite"
1616 - run : make distribute-source
1717 shell : bash
1818 if : inputs.make-binary == 'false'
19+ - run : find dist/*.whl | auditwheel repair
20+ shell : bash
21+ if : inputs.make-binary == 'true' && inputs.repair-manylinux == 'true'
22+ - uses : actions/upload-artifact@v2
23+ with :
24+ path : |
25+ wheelhouse/*.whl
26+ if : inputs.make-binary == 'true' && inputs.repair-manylinux == 'true'
1927 - uses : actions/upload-artifact@v2
2028 with :
2129 path : |
22- ${{ inputs.path }}*.tar.gz
23- ${{ inputs.path }}*.whl
30+ dist/*.tar.gz
31+ dist/*.whl
32+ if : inputs.make-binary == 'false' || inputs.repair-manylinux == 'false'
Original file line number Diff line number Diff line change @@ -61,11 +61,10 @@ jobs:
6161 use-specific-python-version : true
6262 specific-python-version : ${{ matrix.py-version }}
6363 - run : make test
64- - run : find dist/*.whl | auditwheel repair
6564 - uses : ./.github/actions/upload-artifacts
6665 with :
6766 make-binary : false
68- path : wheelhouse/
67+ repair-manylinux : true
6968 if : ${{ fromJSON(needs.pass-env.outputs.is-from-tag-str) }}
7069 build-macos :
7170 needs : pass-env
You can’t perform that action at this time.
0 commit comments