Skip to content

Commit cde34c2

Browse files
committed
create a new hostname
1 parent 572087a commit cde34c2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/push_conda.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,19 @@ jobs:
6060
conda mambabuild . -c conda-forge -c bioconda
6161
- name: Upload package to Khanlab channel
6262
shell: bash -l {0}
63+
env:
64+
ANACONDA_HOSTNAME: "gha-${{ github.run_id }}"
6365
run: |-
6466
conda activate base
6567
6668
# delete any leftover token or netrc entry
6769
rm -f ~/.anaconda/token ~/.netrc || true
68-
70+
6971
anaconda login \
7072
--username ${{ secrets.ANACONDA_USERNAME }} \
71-
--password ${{ secrets.ANACONDA_PASSWORD }}
73+
--password ${{ secrets.ANACONDA_PASSWORD }} \
74+
--hostname "$ANACONDA_HOSTNAME"
75+
7276
anaconda upload "$PACKAGE_PATH" \
7377
--label main \
7478
--force \

0 commit comments

Comments
 (0)