Skip to content

Commit

Permalink
Test 1
Browse files Browse the repository at this point in the history
  • Loading branch information
ssun30 committed Nov 22, 2024
1 parent 1dcff5b commit e047b99
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/conda_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
activate-environment: ""

- name: Install Build Tools
run: mamba install python anaconda-client conda-build
run: mamba install python anaconda-client conda-build conda-verify

- name: Configure Auto-Upload
if: github.ref == 'refs/heads/stable'
if: github.ref == 'refs/heads/fix_conda_build'
run: |
config config --set anaconda_upload yes
Expand All @@ -52,7 +52,9 @@ jobs:
echo "CONDA_TOKEN=$CONDA_TOKEN" >> $GITHUB_ENV
# Build the Conda binary
conda-build --token "$CONDA_TOKEN" --user rmg .conda


# Conditionally add the --token and --user flags for stable branches
if [[ "${GITHUB_REF}" == "refs/heads/fix_conda_build" ]]; then
conda-build --token "$CONDA_TOKEN" --user rmg .conda
else
conda-build .conda
fi

0 comments on commit e047b99

Please sign in to comment.