Skip to content

Commit 42fc143

Browse files
committed
add conditional test to upload step on Linux
1 parent 6fd28f1 commit 42fc143

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/conda-package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ jobs:
443443
- name: Upload
444444
env:
445445
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
446+
if: ${{ env.ANACONDA_TOKEN != '' }}
446447
run: |
447448
anaconda --token ${{ env.ANACONDA_TOKEN }} --verbose upload --user dppy --label dev ${PACKAGE_NAME}-*.conda
448449

0 commit comments

Comments
 (0)