Skip to content

Commit c021a09

Browse files
committed
fix upload command
1 parent 2473360 commit c021a09

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

.github/workflows/multibuild.yml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -67,22 +67,16 @@ jobs:
6767
clean_code $REPO_DIR $OPENBLAS_COMMIT
6868
echo "------ BUILD LIB --------"
6969
build_lib "$PLAT" "$INTERFACE64"
70-
- name: Upload wheels
70+
- name: Upload tarballs
7171
run: |
72-
# trigger an upload to the shared ecosystem
73-
# infrastructure at: https://anaconda.org/scipy-wheels-nightly
74-
# for cron jobs only (restricted to master branch once
75-
# per week)
76-
# SCIPY_WHEELS_NIGHTLY_ACCESS is a secret token
77-
# used in Travis CI config, originally
78-
#
79-
# for merges (push events) we use the staging area instead;
80-
# MULTIBUILD_WHEELS_STAGING_ACCESS is a secret token used in Travis
81-
# CI config, originally generated at anaconda.org for
82-
# multibuild-wheels-staging
83-
# generated at anaconda.org for scipy-wheels-nightly
8472
pip install git+https://github.com/Anaconda-Server/anaconda-client;
85-
ls ${BUILD_DIR}/wheelhouse/*.whl
86-
#anaconda -t ${{ secrets.MULTIBUILD_WHEELS_STAGING_BUILD }} upload --force -u multibuild-wheels-staging ${BUILD_DIR}/wheelhouse/*.whl;
87-
anaconda -t ${{ secrets.MULTIBUILD_WHEELS_STAGING_BUILD }} upload -u multibuild-wheels-staging ${BUILD_DIR}/wheelhouse/*.whl;
73+
# The first -t option refers to the token, the second is the "type"
74+
# option to the "upload" command
75+
anaconda -t ${{ secrets.MULTIBUILD_WHEELS_STAGING_BUILD }} upload \
76+
--no-progress --force -u multibuild-wheels-staging \
77+
-t file -p "openblas-libs" \
78+
-v "$(cd OpenBLAS && git describe --tags --abbrev=8)" \
79+
-d "OpenBLAS for multibuild wheels" \
80+
-s "OpenBLAS for multibuild wheels" \
81+
libs/openblas*.tar.gz
8882

0 commit comments

Comments
 (0)