73
73
74
74
- name : Output sdist name
75
75
id : save-path
76
- shell : bash -el {0}
76
+ shell : bash -euo pipefail {0}
77
77
run : echo "sdist_name=$(ls ./dist)" >> "$GITHUB_OUTPUT"
78
78
79
79
build_wheels :
@@ -123,7 +123,7 @@ jobs:
123
123
124
124
- name : Output sdist name (macOS)
125
125
id : save-path
126
- shell : bash -el {0}
126
+ shell : bash -euo pipefail {0}
127
127
run : echo "sdist_name=$(ls ./dist)" >> "$GITHUB_ENV"
128
128
129
129
# Python version used to build sdist doesn't matter
@@ -135,7 +135,7 @@ jobs:
135
135
136
136
- name : Output sdist name (macOS)
137
137
id : save-path2
138
- shell : bash -el {0}
138
+ shell : bash -euo pipefail {0}
139
139
run : echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
140
140
141
141
- name : Build wheels
@@ -158,7 +158,7 @@ jobs:
158
158
cache-environment : true
159
159
160
160
- name : Validate wheel RECORD
161
- shell : bash -el {0}
161
+ shell : bash -euo pipefail {0}
162
162
run : for whl in $(ls wheelhouse); do wheel unpack wheelhouse/$whl -d /tmp; done
163
163
164
164
# Testing on windowsservercore instead of GHA runner to fail on missing DLLs
@@ -181,7 +181,7 @@ jobs:
181
181
182
182
- name : Upload wheels & sdist
183
183
if : ${{ success() && (env.IS_SCHEDULE_DISPATCH == 'true' || env.IS_PUSH == 'true') }}
184
- shell : bash -el {0}
184
+ shell : bash -euo pipefail {0}
185
185
env :
186
186
PANDAS_STAGING_UPLOAD_TOKEN : ${{ secrets.PANDAS_STAGING_UPLOAD_TOKEN }}
187
187
PANDAS_NIGHTLY_UPLOAD_TOKEN : ${{ secrets.PANDAS_NIGHTLY_UPLOAD_TOKEN }}
0 commit comments