File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,14 @@ jobs:
173
173
merge-multiple : true
174
174
175
175
- name : Inspect tmp directory after downloading artifacts
176
- run : ls -alFR tmp/
176
+ run : |
177
+ ls -alFR tmp/
178
+ WHEEL_COUNT=$(find wheels -type f -name "*.whl" | wc -l)
179
+ echo "Found $WHEEL_COUNT wheel files"
180
+ if [ "$WHEEL_COUNT" -eq 0 ]; then
181
+ echo "::error::No wheel files found in wheels directory! Cannot proceed with release."
182
+ exit 1
183
+ fi
177
184
178
185
- name : Move and rename wheel files with pattern replacement
179
186
run : |
@@ -201,9 +208,11 @@ jobs:
201
208
run : ls -alFR wheels/
202
209
203
210
- uses : actions/checkout@v4
211
+ with :
212
+ path : repo
204
213
- name : Delete old pre-release (if exists)
205
214
run : |
206
- gh release delete continuous-release_main --cleanup-tag -y
215
+ cd repo && gh release delete continuous-release_main --cleanup-tag -y
207
216
env :
208
217
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
209
218
You can’t perform that action at this time.
0 commit comments