diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3afd55d..1c91362 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,17 +26,13 @@ jobs: - name: Install conda-build run: | - conda config --set always_yes yes + conda activate base conda install -y -c conda-forge conda-build - - name: Ensure Conda is initialized - shell: bash -l {0} - run: conda init bash - - name: Build and Upload Conda package env: ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} run: | - source ~/conda/bin/activate base cd recipe + conda activate base conda-build . --token $ANACONDA_TOKEN --user tcevaer -c tcevaer -c conda-forge