File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,9 @@ jobs:
141
141
activate-environment : upload
142
142
143
143
- name : Upload
144
+ # see https://github.com/marketplace/actions/setup-miniconda for why
145
+ # `-el {0}` is required.
146
+ shell : bash -el {0}
144
147
env :
145
148
ANACONDA_SCIENTIFIC_PYTHON_UPLOAD : ${{ secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD }}
146
149
run : |
Original file line number Diff line number Diff line change @@ -152,7 +152,9 @@ jobs:
152
152
activate-environment : upload
153
153
154
154
- name : Upload
155
- shell : bash
155
+ # see https://github.com/marketplace/actions/setup-miniconda for why
156
+ # `-el {0}` is required.
157
+ shell : bash -el {0}
156
158
env :
157
159
ANACONDA_SCIENTIFIC_PYTHON_UPLOAD : ${{ secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD }}
158
160
run : |
Original file line number Diff line number Diff line change 2
2
# Upload tar.gz and wheels to ananconda.org
3
3
4
4
upload_wheels () {
5
- set -e
6
5
if [[ " $( uname -s) " == CYGWIN* ]]; then
7
6
our_wd=$( cygpath " $START_DIR " )
8
7
cd $our_wd
@@ -17,12 +16,14 @@ upload_wheels() {
17
16
else
18
17
echo " Uploading OpenBLAS $VERSION to anaconda.org staging:"
19
18
19
+ tarballs=$( ls -d builds/openblas* .zip libs/openblas* .tar.gz 2> /dev/null)
20
20
anaconda -t $ANACONDA_SCIENTIFIC_PYTHON_UPLOAD upload \
21
21
--no-progress --force -u scientific-python-nightly-wheels \
22
22
-t file -p " openblas-libs" -v " $VERSION " \
23
23
-d " OpenBLAS for multibuild wheels" \
24
24
-s " OpenBLAS for multibuild wheels" \
25
- builds/openblas* .zip libs/openblas* .tar.gz
25
+ ${tarballs}
26
+
26
27
27
28
anaconda -t $ANACONDA_SCIENTIFIC_PYTHON_UPLOAD upload \
28
29
--no-progress --force -u scientific-python-nightly-wheels \
You can’t perform that action at this time.
0 commit comments