Skip to content

Commit

Permalink
concised conda build for multi os
Browse files Browse the repository at this point in the history
  • Loading branch information
dwr-psandhu committed Dec 15, 2024
1 parent 158d2c0 commit f1a4184
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,11 @@ jobs:
echo "Setting up Fortran environment"
${{ steps.setup-fortran.outputs.fc }} /help
- name: Build Conda package on Ubuntu
if: matrix.os == 'ubuntu-latest'
- name: Build Conda package
shell: bash
env:
ANACONDA_CHANNEL_UPLOAD_TOKEN: ${{ secrets.ANACONDA_CHANNEL_UPLOAD_TOKEN }}
run: |
echo "Building Conda package"
conda config --set anaconda_upload yes
conda build -c conda-forge -c cadwr-dms --user cadwr-dms --token "$ANACONDA_CHANNEL_UPLOAD_TOKEN" .
- name: Build Conda package on Windows
if: matrix.os == 'windows-latest'
env:
ANACONDA_CHANNEL_UPLOAD_TOKEN: ${{ secrets.ANACONDA_CHANNEL_UPLOAD_TOKEN }}
run: |
echo "Building Conda package"
conda config --set anaconda_upload yes
conda build -c conda-forge -c cadwr-dms --user cadwr-dms --token "$env:ANACONDA_CHANNEL_UPLOAD_TOKEN" .

0 comments on commit f1a4184

Please sign in to comment.