Skip to content

Commit

Permalink
Update update-pinned-env.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lkstrp authored Dec 19, 2024
1 parent 78b9451 commit 8a61f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-pinned-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: ${{ github.event.repository.name }}
channels: bioconda,conda-forge
environment-file: ${{ env.BASE_ENV }}

- name: Update pinned environment per OS
run: |
channels=$(yq '.channels[]' ${{ env.BASE_ENV }} | sed 's/^/--channel /')
conda env export --name ${{ github.event.repository.name }} --no-builds | yq ".channels = [$channels]" > envs/${{ matrix.suffix }}-pinned.yaml
conda env export --name ${{ github.event.repository.name }} --no-builds > envs/${{ matrix.suffix }}-pinned.yaml
- name: Add SPDX header
if: ${{ matrix.suffix != 'windows' }}
Expand Down

0 comments on commit 8a61f43

Please sign in to comment.