We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6981d1 commit f208c47Copy full SHA for f208c47
1 file changed
.github/workflows/conda_build.yml
@@ -42,7 +42,7 @@ jobs:
42
echo "GitHub head ref is: $GITHUB_HEAD_REF"
43
44
- name: Configure Auto-Upload
45
- if: github.head_ref == 'fix_conda_build'
+ if: github.ref == 'refs/heads/stable'
46
run: |
47
conda config --set anaconda_upload yes
48
@@ -58,10 +58,8 @@ jobs:
58
echo "CONDA_TOKEN=$CONDA_TOKEN" >> $GITHUB_ENV
59
60
# Conditionally add the --token and --user flags for stable branches
61
- if [[ "${GITHUB_HEAD_REF}" == "fix_conda_build" ]]; then
62
- echo "Build command: conda-build --token *** --user rmg .conda"
+ if [[ "${GITHUB_REF}" == "refs/heads/stable" ]]; then
63
conda-build --token "$CONDA_TOKEN" --user rmg .conda
64
- else
65
- echo "Build command: conda-build .conda"
+ else
66
conda-build .conda
67
fi
0 commit comments