File tree Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -182,8 +182,8 @@ jobs:
182
182
- name : Run tests
183
183
run : python -m pytest --pyargs ${{ env.MODULE_NAME }}
184
184
185
- upload :
186
- needs : test
185
+ upload_linux :
186
+ needs : test_linux
187
187
if : ${{ github.ref == 'refs/heads/master' }}
188
188
runs-on : ubuntu-latest
189
189
strategy :
@@ -206,3 +206,29 @@ jobs:
206
206
run : |
207
207
conda install anaconda-client
208
208
anaconda --token $ANACONDA_TOKEN upload --user dppy --label dev ${PACKAGE_NAME}-*.tar.bz2
209
+
210
+ upload_windows :
211
+ needs : test_windows
212
+ if : ${{ github.ref == 'refs/heads/master' }}
213
+ runs-on : windows-latest
214
+ strategy :
215
+ matrix :
216
+ python : [3.8]
217
+ steps :
218
+ - name : Download artifact
219
+ uses : actions/download-artifact@v2
220
+ with :
221
+ name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
222
+ - uses : conda-incubator/setup-miniconda@v2
223
+ with :
224
+ auto-activate-base : true
225
+ activate-environment : " "
226
+ - name : Install anaconda-client
227
+ run : conda install anaconda-client
228
+
229
+ - name : Upload
230
+ env :
231
+ ANACONDA_TOKEN : ${{ secrets.ANACONDA_TOKEN }}
232
+ run : |
233
+ conda install anaconda-client
234
+ anaconda --token ${{ env.ANACONDA_TOKEN }} upload --user dppy --label dev ${{ env.PACKAGE_NAME }}-*.tar.bz2
You can’t perform that action at this time.
0 commit comments