diff --git a/.github/workflows/build_orca.yml b/.github/workflows/build_orca.yml index 8880009c19..8c1b8134b7 100644 --- a/.github/workflows/build_orca.yml +++ b/.github/workflows/build_orca.yml @@ -253,6 +253,17 @@ jobs: run: | ./build_release_macos.sh -u -x ${{ !vars.SELF_HOSTED && '-j 3' || '' }} -a universal -t 10.15 + # xcrun stapler fetches the notarization ticket over HTTP/3 (UDP 443), + # which GitHub-hosted macOS runners drop, failing with Error 68 + # (actions/runner-images#14924). Blocking UDP 443 makes it fall back to + # TCP. Skipped on self-hosted runners, where the pf rules would outlive + # the job. + - name: Force stapler onto TCP + if: github.repository == 'OrcaSlicer/OrcaSlicer' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) && runner.os == 'macOS' && inputs.macos-combine-only && !vars.SELF_HOSTED + run: | + echo "block return out quick proto udp from any to any port 443" | sudo pfctl -f - + sudo pfctl -E + # Thanks to RaySajuuk, it's working now - name: Sign app and notary if: github.repository == 'OrcaSlicer/OrcaSlicer' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) && runner.os == 'macOS' && inputs.macos-combine-only