Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit c0a3da2

Browse files
committed
try to debug $TOKEN
1 parent 85c4276 commit c0a3da2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

azure/posix.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ jobs:
112112
set -e
113113
# The --force option forces a replacement if the remote file already
114114
# exists.
115-
ls wheelhouse/*.whl
116-
echo $PATH
115+
echo uploading wheelhouse/*.whl
116+
echo TOKEN starts with ${TOKEN:0:3}
117117
anaconda -t $TOKEN upload --force -u $ANACONDA_ORG wheelhouse/*.whl
118118
echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple"
119119
displayName: Upload to anaconda.org (only if secret token is retrieved)

azure/windows.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,13 @@ jobs:
135135
# Secret variables need to mapped to env variables explicitly:
136136
NUMPY_NIGHTLY_UPLOAD_TOKEN: $(NUMPY_NIGHTLY_UPLOAD_TOKEN)
137137
NUMPY_STAGING_UPLOAD_TOKEN: $(NUMPY_STAGING_UPLOAD_TOKEN)
138+
138139
- bash: |
139140
set -e
140141
# The --force option forces a replacement if the remote file already
141142
# exists.
142-
ls numpy/dist/numpy-*.whl
143+
echo uploading numpy/dist/numpy-*.whl
144+
echo TOKEN starts with ${TOKEN:0:3}
143145
anaconda -t $TOKEN upload --force -u $ANACONDA_ORG numpy/dist/numpy-*.whl
144146
echo "PyPI-style index: https://pypi.anaconda.org/$ANACONDA_ORG/simple"
145147
displayName: Upload to anaconda.org (only if secret token is retrieved)

0 commit comments

Comments
 (0)