Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin micromamba <v2; update cache action #50

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/create-mamba-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
- name: Cache Mamba env
id: cache
if: inputs.cache_mamba_env == 'true'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: conda-env.lock
key: ${{ steps.get-refresh-timestamp.outputs.timestamp }}-${{ steps.get-env-hash.outputs.hash }}
Expand Down Expand Up @@ -84,4 +84,4 @@ runs:
- name: Create lockfile
if: steps.cache.outputs.cache-hit != 'true'
run: mamba list --explicit > conda-env.lock
shell: bash -l {0}
shell: bash -l {0}
4 changes: 2 additions & 2 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: latest
micromamba-version: '1.5.10-0'
environment-name: condabuild
create-args: >-
python=3.11
Expand Down Expand Up @@ -104,4 +104,4 @@ jobs:
name: conda-build-${{ matrix.os }}-${{ inputs.package_name }}-${{ inputs.version }}
path: ${{ env.MAMBA_ROOT_PREFIX }}/envs/condabuild/conda-bld/
retention-days: 3
if-no-files-found: error
if-no-files-found: error
4 changes: 2 additions & 2 deletions .github/workflows/conda-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: latest
micromamba-version: '1.5.10-0'
environment-name: condaupload
create-args: >-
python=3.11
Expand Down Expand Up @@ -68,4 +68,4 @@ jobs:
- name: Upload to anaconda
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: find ${{ runner.temp }}/conda_builds -path "**/${{ inputs.package_name }}-${{ env.VERSION }}-*.tar.bz2" -exec anaconda upload {} +
run: find ${{ runner.temp }}/conda_builds -path "**/${{ inputs.package_name }}-${{ env.VERSION }}-*.tar.bz2" -exec anaconda upload {} +
6 changes: 3 additions & 3 deletions .github/workflows/pip-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: latest
micromamba-version: '1.5.10-0'
environment-name: pipbuild
create-args: >-
python=3.11
Expand All @@ -77,7 +77,7 @@ jobs:
steps:
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: latest
micromamba-version: '1.5.10-0'
environment-name: pipinstall
create-args: >-
python=3.11
Expand All @@ -103,7 +103,7 @@ jobs:
steps:
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: latest
micromamba-version: '1.5.10-0'
environment-name: pipinstall
create-args: >-
python=3.11
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/template-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: latest
micromamba-version: '1.5.10-0'
environment-name: ${{ github.event.repository.name }}-cruft
create-args: cruft python=3.11
post-cleanup: all
Expand All @@ -26,4 +26,4 @@ jobs:

- name: Check project against template
id: check
run: cruft check
run: cruft check