Skip to content

Commit b7c93e7

Browse files
authored
Merge pull request #118 from mattip/upload3
fix uploading
2 parents 729f4a5 + 2514655 commit b7c93e7

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/posix.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ jobs:
141141
activate-environment: upload
142142

143143
- name: Upload
144+
# see https://github.com/marketplace/actions/setup-miniconda for why
145+
# `-el {0}` is required.
146+
shell: bash -el {0}
144147
env:
145148
ANACONDA_SCIENTIFIC_PYTHON_UPLOAD: ${{ secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD }}
146149
run: |

.github/workflows/windows.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ jobs:
152152
activate-environment: upload
153153

154154
- 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}
156158
env:
157159
ANACONDA_SCIENTIFIC_PYTHON_UPLOAD: ${{ secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD }}
158160
run: |

tools/upload_to_anaconda_staging.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# Upload tar.gz and wheels to ananconda.org
33

44
upload_wheels() {
5-
set -e
65
if [[ "$(uname -s)" == CYGWIN* ]]; then
76
our_wd=$(cygpath "$START_DIR")
87
cd $our_wd
@@ -17,12 +16,14 @@ upload_wheels() {
1716
else
1817
echo "Uploading OpenBLAS $VERSION to anaconda.org staging:"
1918

19+
tarballs=$(ls -d builds/openblas*.zip libs/openblas*.tar.gz 2>/dev/null)
2020
anaconda -t $ANACONDA_SCIENTIFIC_PYTHON_UPLOAD upload \
2121
--no-progress --force -u scientific-python-nightly-wheels \
2222
-t file -p "openblas-libs" -v "$VERSION" \
2323
-d "OpenBLAS for multibuild wheels" \
2424
-s "OpenBLAS for multibuild wheels" \
25-
builds/openblas*.zip libs/openblas*.tar.gz
25+
${tarballs}
26+
2627

2728
anaconda -t $ANACONDA_SCIENTIFIC_PYTHON_UPLOAD upload \
2829
--no-progress --force -u scientific-python-nightly-wheels \

0 commit comments

Comments
 (0)