summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAndrew Nelson <andyfaff@gmail.com>2023-01-30 16:46:43 +1100
committerAndrew Nelson <andyfaff@gmail.com>2023-01-30 16:46:43 +1100
commit4afd4d476bf7207faecb90239903281a25b39c45 (patch)
treeb80d970a7a207abfb2e868cef5823b28f71318fc /.github
parent5aa99fb05d5e9845f20b03bd9d5698fb8c56f239 (diff)
downloadnumpy-4afd4d476bf7207faecb90239903281a25b39c45.tar.gz
BLD: initialise bash properly [wheel build][skip azp][skip circle]
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/wheels.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 661530fb3..0ce23c7f3 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -134,7 +134,9 @@ jobs:
- name: Upload wheels
if: success()
- shell: bash
+ shell: bash -el {0}
+ # see https://github.com/marketplace/actions/setup-miniconda for why
+ # `-el {0}` is required.
env:
NUMPY_STAGING_UPLOAD_TOKEN: ${{ secrets.NUMPY_STAGING_UPLOAD_TOKEN }}
NUMPY_NIGHTLY_UPLOAD_TOKEN: ${{ secrets.NUMPY_NIGHTLY_UPLOAD_TOKEN }}
@@ -214,7 +216,7 @@ jobs:
- name: Upload sdist
if: success()
- shell: bash
+ shell: bash -el {0}
env:
NUMPY_STAGING_UPLOAD_TOKEN: ${{ secrets.NUMPY_STAGING_UPLOAD_TOKEN }}
NUMPY_NIGHTLY_UPLOAD_TOKEN: ${{ secrets.NUMPY_NIGHTLY_UPLOAD_TOKEN }}