Skip to content

Commit

Permalink
Send event to corral and ponyup on arm64 macos nightlies being released
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanTAllen committed Jan 31, 2024
1 parent 4348358 commit 0cc6a1b
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions .github/workflows/cloudsmith-package-sychronised.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,11 @@ jobs:
topic: ${{ github.repository }} scheduled job failure
content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed.

send-macos-nightly-release-event:
send-x86-64-macos-nightly-release-event:
if: |
github.event.client_payload.data.repository == 'nightlies' &&
github.event.client_payload.data.name == 'ponyc-x86-64-apple-darwin.tar.gz'
name: Send macos nightly release event
name: Send x86-64 macos nightly release event
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -362,6 +362,38 @@ jobs:
topic: ${{ github.repository }} scheduled job failure
content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed.

send-arm64-macos-nightly-release-event:
if: |
github.event.client_payload.data.repository == 'nightlies' &&
github.event.client_payload.data.name == 'ponyc-arm64-apple-darwin.tar.gz'
name: Send arm64 macos nightly release event
runs-on: ubuntu-latest
strategy:
matrix:
repo:
- ponylang/corral
- ponylang/ponyup
steps:
- name: Send
# v2.1.1
uses: peter-evans/repository-dispatch@26b39ed245ab8f31526069329e112ab2fb224588
with:
token: ${{ secrets.PONYLANG_MAIN_API_TOKEN }}
repository: ${{ matrix.repo }}
event-type: ponyc-arm64-macos-nightly-released
client-payload: '{"version": "${{ github.event.client_payload.data.version }}"}'
- name: Alert on failure
if: ${{ failure() }}
uses: zulip/github-actions-zulip/send-message@b62d5a0e48a4d984ea4fce5dd65ba691963d4db4
with:
api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }}
email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }}
organization-url: 'https://ponylang.zulipchat.com/'
to: notifications
type: stream
topic: ${{ github.repository }} scheduled job failure
content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed.

send-musl-nightly-release-event:
needs: [build-latest-musl-docker-image]

Expand Down

0 comments on commit 0cc6a1b

Please sign in to comment.