File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ jobs:
108108 if ($env:TASK -eq "R_PACKAGE") {
109109 & "$env:GITHUB_WORKSPACE\.ci\r_tests_windows.ps1"
110110 }
111- - name : Create wheel for Linux and macOS
111+ - name : Create wheel and source archive for Linux and macOS
112112 if : (matrix.os == 'macOS-latest' || matrix.os == 'ubuntu-latest') && matrix.python_version == 3.9 && matrix.task != 'R_PACKAGE' && startsWith(github.ref, 'refs/tags/')
113113 shell : bash
114114 run : |
@@ -124,6 +124,7 @@ jobs:
124124 python setup.py bdist_wheel --plat-name=macosx --python-tag py3;
125125 mv dist/rgf_python-${{ env.RGF_VER }}-py3-none-macosx.whl dist/rgf_python-${{ env.RGF_VER }}-py3-none-macosx_10_14_x86_64.macosx_10_15_x86_64.macosx_11_0_x86_64.whl;
126126 else
127+ python setup.py sdist;
127128 python setup.py bdist_wheel --plat-name=manylinux1_x86_64 --python-tag py3;
128129 fi
129130 - name : Create wheel for Windows
@@ -146,6 +147,7 @@ jobs:
146147 prerelease : false
147148 files : |
148149 ${{ github.workspace }}/python-package/dist/*.whl
150+ ${{ github.workspace }}/python-package/dist/*.tar.gz
149151 ${{ github.workspace }}/python-package/compile/RGF/bin/*.exe
150152 all-successful :
151153 # https://github.community/t/is-it-possible-to-require-all-github-actions-tasks-to-pass-without-enumerating-them/117957/4?u=graingert
You can’t perform that action at this time.
0 commit comments