Skip to content

Commit

Permalink
migrate to setup-micromamba
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbuntemeyer committed Jul 15, 2024
1 parent 199e6fc commit 0a55abb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ jobs:
echo "PYTHON_VERSION=${{ matrix.python-version }}" >> $GITHUB_ENV
- name: Create conda environment
uses: mamba-org/provision-with-micromamba@main
uses: mamba-org/setup-micromamba@v1
with:
cache-downloads: true
cache-downloads-key: "${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
micromamba-version: 'latest'
cache-downloads-key: "${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}"
environment-file: archive-specifications/environment.yml
extra-specs: |
create-args: >-
python=${{ matrix.python-version }}
- name: Version info
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ jobs:
echo "PYTHON_VERSION=${{ matrix.python-version }}" >> $GITHUB_ENV
- name: Create conda environment
uses: mamba-org/provision-with-micromamba@main
uses: mamba-org/setup-micromamba@v1
with:
cache-downloads: true
cache-downloads-key: "${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
micromamba-version: 'latest'
cache-downloads-key: "${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}"
environment-file: archive-specifications/environment.yml
extra-specs: |
create-args: >-
python=${{ matrix.python-version }}
- name: Version info
Expand Down

0 comments on commit 0a55abb

Please sign in to comment.