From f75c2a0e3e36e1975959880d158f39806b39ebdd Mon Sep 17 00:00:00 2001 From: gcroci2 Date: Wed, 20 Mar 2024 10:20:11 +0100 Subject: [PATCH] set default shell for fixing actions --- .github/workflows/build-latest-release.yml | 5 +++++ .github/workflows/release.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/build-latest-release.yml b/.github/workflows/build-latest-release.yml index 37ca1f992..9daa99368 100644 --- a/.github/workflows/build-latest-release.yml +++ b/.github/workflows/build-latest-release.yml @@ -18,6 +18,11 @@ jobs: os: ["ubuntu-latest"] python-version: ["3.10"] # ["3.10", "3.11"] + # https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell + defaults: + run: + shell: bash -l {0} + steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install-python-and-package diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f04e626c..30cee8bcd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,11 @@ jobs: os: ["ubuntu-latest"] python-version: ["3.10"] + # https://github.com/marketplace/actions/setup-miniconda#use-a-default-shell + defaults: + run: + shell: bash -l {0} + steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install-python-and-package