actions / runner-images

GitHub Actions runner images
MIT License
9.22k stars 2.86k forks source link

macOS > 12 images do not have miniconda installed #9889

Closed s-weigand closed 1 week ago

s-weigand commented 2 weeks ago

Description

I recently got an issue that setting up conda fails on macos-latest. This is related to macos-latest changing form macos-12 to macos-14, where the macos-13 and macos-14 images do not have miniconda preinstalled.

macos-12 Packer template

macos-13 Packer template

macos-14 Packer template

If this is desired I would give a PR a shot where I would add the miniconda installation to the newer macos versions and make install-miniconda.sh compatible with arm64.

Platforms affected

Runner images affected

Image version and build link

macos-14-arm64

Is it regression?

N/A

Expected behavior

Miniconda is installed and the CONDA environment variable pointing to the root installation folder is set as it was in macos-12.

Actual behavior

Miniconda is not installed and the CONDA environment variable is not set.

Repro steps

Minimal example of a pipeline that would fail

jobs:
    build:
        runs-on: macOS-latest
        steps:
            - uses: s-weigand/setup-conda@v1
MaksimZhukov commented 1 week ago

Hello @s-weigand! I am closing the issue as a duplicate of this one. Please find all the details there