Skip to content

Commit

Permalink
Use conda-incubator/setup-miniconda@v2.2.0 & mamba 1.0.0 (#383)
Browse files Browse the repository at this point in the history
* Update mamba version

* Use `conda-incubator/setup-miniconda@v2.2.0`

Upgrade to the most recent `conda-incubator/setup-miniconda`. This
includes a number of fixes (including updating Node.js).

* Use Mamba 1.0.0

* bump build number

Co-authored-by: isuruf <isuruf@users.noreply.github.com>
Co-authored-by: Mark Harfouche <mark.harfouche@gmail.com>
  • Loading branch information
3 people authored Nov 15, 2022
1 parent db8f108 commit f18faed
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.MINIFORGE_AUTOUPDATE_SSH_PRIVATE_KEY }}
- uses: conda-incubator/setup-miniconda@35d1405e78aa3f784fe3ce9a2eb378d5eeb62169
- uses: conda-incubator/setup-miniconda@v2.2.0
with:
miniforge-variant: Miniforge3
environment-file: .github/actions/autoupdate/environment.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- uses: conda-incubator/setup-miniconda@35d1405e78aa3f784fe3ce9a2eb378d5eeb62169
- uses: conda-incubator/setup-miniconda@v2.2.0
with:
miniconda-version: "latest"
if: contains(matrix.OS_NAME, 'Windows')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@35d1405e78aa3f784fe3ce9a2eb378d5eeb62169
- uses: conda-incubator/setup-miniconda@v2.2.0
- run: python -m pip install -r docs/requirements.txt
- run: python docs/releases.py
- uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v2.2.0
- name: Install dependencies
run: |
conda install -c conda-forge shellcheck
Expand Down
4 changes: 2 additions & 2 deletions Miniforge3/construct.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = os.environ.get("MINIFORGE_VERSION", "22.9.0-1") %}
{% set version = os.environ.get("MINIFORGE_VERSION", "22.9.0-2") %}
{% set name = os.environ.get("MINIFORGE_NAME", "Miniforge3") %}

name: {{ name }}
Expand Down Expand Up @@ -27,7 +27,7 @@ specs:
{% endif %}

{% if name.startswith("Mambaforge") %}
- mamba 0.27.0
- mamba 1.0.0
{% endif %}
- conda {{ version.split("-")[0] }}

Expand Down
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ cp LICENSE "${TEMP_DIR}/"
ls -al "${TEMP_DIR}"

if [[ "${TARGET_PLATFORM}" != win-* ]]; then
MICROMAMBA_VERSION=0.27.0
MICROMAMBA_BUILD=3
MICROMAMBA_VERSION=1.0.0
MICROMAMBA_BUILD=1
mkdir "${TEMP_DIR}/micromamba"
pushd "${TEMP_DIR}/micromamba"
curl -L -O "https://anaconda.org/conda-forge/micromamba/${MICROMAMBA_VERSION}/download/${TARGET_PLATFORM}/micromamba-${MICROMAMBA_VERSION}-${MICROMAMBA_BUILD}.tar.bz2"
Expand Down

0 comments on commit f18faed

Please sign in to comment.