From f6953ef7491937820c22107f7bdeced6958482f5 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 20 Jan 2023 20:02:47 -0500 Subject: [PATCH] ci: Re-add the login shell to nightlies jobs This is needed because of the way the micromamba provisioning works, or else anything installed in the mamba environment is not found. --- .github/workflows/nightlies.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/nightlies.yml b/.github/workflows/nightlies.yml index e962c072e223..0ab41b1d1eab 100644 --- a/.github/workflows/nightlies.yml +++ b/.github/workflows/nightlies.yml @@ -15,6 +15,12 @@ jobs: upload_nightly_wheels: name: Upload nightly wheels to Anaconda Cloud runs-on: ubuntu-latest + defaults: + run: + # The login shell is necessary for the provision-with-micromamba setup + # to work in subsequent jobs. + # https://github.com/mamba-org/provision-with-micromamba#important + shell: bash -e -l {0} if: github.repository_owner == 'matplotlib' steps: