Skip to content

Commit

Permalink
Merge pull request #184116 from Homebrew/macos-15-arm64-bottles
Browse files Browse the repository at this point in the history
workflows/dispatch-build-bottle: enable 15-arm64 bottle uploads
  • Loading branch information
Bo98 authored Sep 10, 2024
2 parents 4e7cf74 + a0dd84b commit 06b5264
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dispatch-build-bottle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
id-token: write # for actions/attest-build-provenance
runs-on: ubuntu-latest
needs: bottle
if: inputs.upload && !startsWith(inputs.runner, 15)
if: inputs.upload
container:
image: ghcr.io/homebrew/ubuntu22.04:master
defaults:
Expand All @@ -156,12 +156,12 @@ jobs:
BOTTLE_BRANCH: ${{github.actor}}/dispatch/${{inputs.formula}}/${{github.run_id}}
BOTTLES_DIR: ${{ github.workspace }}/bottles
steps:
- name: Check that we're not uploading Sequioa bottles
- name: Check that we're not uploading Sequioa x86_64 bottles
run: |
if [[ "${DISPATCH_BUILD_BOTTLE_RUNNER}" == "15"* ]]
if [[ "${DISPATCH_BUILD_BOTTLE_RUNNER}" == "15"* && "${RUNNER_ARCH}" == "X64" ]]
then
echo "::error ::Refusing to upload bottles for macOS 15!"
echo "::error ::Please don't upload macOS 15 bottles yet, @${DISPATCH_BUILD_BOTTLE_SENDER}."
echo "::error ::Refusing to upload bottles for macOS 15 x86_64!"
echo "::error ::Please don't upload macOS 15 x86_64 bottles yet, @${DISPATCH_BUILD_BOTTLE_SENDER}."
exit 1
fi
Expand Down

0 comments on commit 06b5264

Please sign in to comment.