diff --git a/.github/workflows/build-pg-extension.yml b/.github/workflows/build-pg-extension.yml index 7f3788c..cb43eb3 100644 --- a/.github/workflows/build-pg-extension.yml +++ b/.github/workflows/build-pg-extension.yml @@ -144,7 +144,7 @@ jobs: test: name: run ${{ inputs.package }} ${{ inputs.version }} ${{ inputs.platform }} needs: build - runs-on: ${{ fromJSON('{"windows-x64":"windows-2022","macos-arm64":"macos-14","linux-x64":"ubuntu-24.04","linux-arm64":"ubuntu-24.04-arm"}')[inputs.platform] }} + runs-on: ${{ fromJSON('{"windows-x64":"windows-2022","macos-arm64":"macos-15","linux-x64":"ubuntu-24.04","linux-arm64":"ubuntu-24.04-arm"}')[inputs.platform] }} timeout-minutes: 20 env: ASSET: ${{ needs.build.outputs.asset }} diff --git a/.github/workflows/build-php-macos.yml b/.github/workflows/build-php-macos.yml index b941bb5..dbed275 100644 --- a/.github/workflows/build-php-macos.yml +++ b/.github/workflows/build-php-macos.yml @@ -123,7 +123,7 @@ jobs: name: run ${{ inputs.package }} ${{ inputs.version }} without Homebrew needs: build if: needs.build.outputs.ok == 'true' - runs-on: macos-14 + runs-on: macos-15 continue-on-error: ${{ inputs.optional == true }} outputs: ok: ${{ steps.done.outputs.ok }} diff --git a/.github/workflows/build-service.yml b/.github/workflows/build-service.yml index 49a5a9f..347d2e1 100644 --- a/.github/workflows/build-service.yml +++ b/.github/workflows/build-service.yml @@ -179,7 +179,7 @@ jobs: test: name: run ${{ inputs.package }} ${{ inputs.version }} ${{ inputs.platform }} needs: build - runs-on: ${{ fromJSON('{"windows-x64":"windows-2022","macos-arm64":"macos-14","linux-x64":"ubuntu-24.04","linux-arm64":"ubuntu-24.04-arm"}')[inputs.platform] }} + runs-on: ${{ fromJSON('{"windows-x64":"windows-2022","macos-arm64":"macos-15","linux-x64":"ubuntu-24.04","linux-arm64":"ubuntu-24.04-arm"}')[inputs.platform] }} timeout-minutes: 20 env: ASSET: ${{ needs.build.outputs.asset }} diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 9c34d00..c82b57a 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -76,7 +76,9 @@ jobs: env: ASSET: ${{ steps.config.outputs.asset }} run: | + set -o pipefail bash "packages/$PKG/mirror.sh" "$VERSION" "$PLATFORM" "$ASSET" | tee -a "$GITHUB_STEP_SUMMARY" + [[ -f "$ASSET" ]] || { echo "::error::mirror did not produce $ASSET"; exit 1; } echo "$(sha256sum "$ASSET") ($(du -h "$ASSET" | cut -f1))" | tee -a "$GITHUB_STEP_SUMMARY" - uses: actions/upload-artifact@v7 with: @@ -84,6 +86,7 @@ jobs: path: | ${{ steps.config.outputs.asset }} ${{ inputs.package }}-${{ inputs.version }}.json + if-no-files-found: error retention-days: 7 test: