Skip to content

Commit

Permalink
Test 6
Browse files Browse the repository at this point in the history
  • Loading branch information
ssun30 committed Nov 22, 2024
1 parent b6981d1 commit f208c47
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/conda_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
echo "GitHub head ref is: $GITHUB_HEAD_REF"
- name: Configure Auto-Upload
if: github.head_ref == 'fix_conda_build'
if: github.ref == 'refs/heads/stable'
run: |
conda config --set anaconda_upload yes
Expand All @@ -58,10 +58,8 @@ jobs:
echo "CONDA_TOKEN=$CONDA_TOKEN" >> $GITHUB_ENV
# Conditionally add the --token and --user flags for stable branches
if [[ "${GITHUB_HEAD_REF}" == "fix_conda_build" ]]; then
echo "Build command: conda-build --token *** --user rmg .conda"
if [[ "${GITHUB_REF}" == "refs/heads/stable" ]]; then
conda-build --token "$CONDA_TOKEN" --user rmg .conda
else
echo "Build command: conda-build .conda"
else
conda-build .conda
fi

0 comments on commit f208c47

Please sign in to comment.