Skip to content

Commit 87cb4b5

Browse files
authored
Use an environment variable for the canary channel token (#324)
1 parent f0e8e2e commit 87cb4b5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

canary-release/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ runs:
6363
- name: Build & upload package
6464
id: build
6565
shell: bash -l {0}
66+
env:
67+
BINSTAR_API_TOKEN: ${{ inputs.anaconda-org-token }}
6668
run: |
6769
echo "::group::Setting up environment"
6870
set -euo pipefail
@@ -103,7 +105,6 @@ runs:
103105
if [[ "${{ inputs.upload }}" == "true" ]]; then
104106
echo "::group::Uploading package"
105107
anaconda \
106-
--token="${{ inputs.anaconda-org-token }}" \
107108
upload \
108109
--force \
109110
--register \

0 commit comments

Comments
 (0)