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:
173173 merge-multiple : true
174174
175175 - 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
177184
178185 - name : Move and rename wheel files with pattern replacement
179186 run : |
@@ -201,9 +208,11 @@ jobs:
201208 run : ls -alFR wheels/
202209
203210 - uses : actions/checkout@v4
211+ with :
212+ path : repo
204213 - name : Delete old pre-release (if exists)
205214 run : |
206- gh release delete continuous-release_main --cleanup-tag -y
215+ cd repo && gh release delete continuous-release_main --cleanup-tag -y
207216 env :
208217 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
209218
You can’t perform that action at this time.
0 commit comments