Skip to content

Commit

Permalink
Revert "concised conda build for multi os"
Browse files Browse the repository at this point in the history
This reverts commit f1a4184.
  • Loading branch information
dwr-psandhu committed Dec 15, 2024
1 parent f1a4184 commit f03c74e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,20 @@ jobs:
echo "Setting up Fortran environment"
${{ steps.setup-fortran.outputs.fc }} /help
- name: Build Conda package
shell: bash
- name: Build Conda package on Ubuntu
if: matrix.os == 'ubuntu-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 "$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 f03c74e

Please sign in to comment.