@@ -229,23 +229,12 @@ jobs:
229229 fi
230230 done
231231
232- - name : Upload pending notarizations
233- if : hashFiles('pending-notarizations/*.pending') != ''
234- run : |
235- # Upload pending notarization files as release assets
236- for pending_file in pending-notarizations/*.pending; do
237- if [ -f "$pending_file" ]; then
238- echo "Uploading pending notarization: $(basename "$pending_file")"
239- gh release upload "${{ github.ref_name }}" "$pending_file" --clobber
240- fi
241- done
242- env :
243- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
244-
245232 - name : List files for upload
246233 run : |
247234 echo "Files to upload:"
248235 ls -la release-files/
236+ echo "Pending notarizations:"
237+ ls -la pending-notarizations/ || echo "No pending notarizations"
249238
250239 - name : Create release with binaries
251240 uses : softprops/action-gh-release@v2
@@ -302,6 +291,19 @@ jobs:
302291 env :
303292 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
304293
294+ - name : Upload pending notarizations
295+ if : hashFiles('pending-notarizations/*.pending') != ''
296+ run : |
297+ # Upload pending notarization files as release assets
298+ for pending_file in pending-notarizations/*.pending; do
299+ if [ -f "$pending_file" ]; then
300+ echo "Uploading pending notarization: $(basename "$pending_file")"
301+ gh release upload "${{ github.ref_name }}" "$pending_file" --clobber
302+ fi
303+ done
304+ env :
305+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
306+
305307 update-homebrew :
306308 needs : release
307309 runs-on : ubuntu-latest
0 commit comments