Skip to content

Commit

Permalink
Same changes to conda-forge-cf workflow as were done in conda-package…
Browse files Browse the repository at this point in the history
… workflow to fix windows build
  • Loading branch information
oleksandr-pavlyk committed Oct 11, 2024
1 parent 334b3ed commit 0808679
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/conda-package-cf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,14 @@ jobs:
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v3
with:
auto-activate-base: true
miniforge-version: latest
conda-build-version: "*"
activate-environment: true
activate-environment: build
python-version: ${{ matrix.python }}
channels: conda-forge,nodefaults

- name: Remove defaults channel
run: conda config --remove channels defaults

- name: Cache conda packages
uses: actions/cache@v4
Expand Down Expand Up @@ -180,13 +184,17 @@ jobs:
uses: actions/download-artifact@v4
with:
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python_ver }}

- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
conda-build-version: '*'
miniconda-version: 'latest'
activate-environment: mkl_fft_test
python-version: ${{ matrix.python_ver }}
miniforge-version: latest
activate-environment: build
python-version: ${{ matrix.python }}
channels: conda-forge,nodefaults

- name: Remove defaults channel
run: conda config --remove channels defaults

- name: Create conda channel with the artifact bit
shell: cmd /C CALL {0}
run: |
Expand Down

0 comments on commit 0808679

Please sign in to comment.