Skip to content

Commit

Permalink
Add missing macos nightly released event
Browse files Browse the repository at this point in the history
Apparently I missed adding this back in when re-adding macOS on
Intel support.
  • Loading branch information
SeanTAllen committed Aug 18, 2023
1 parent 42abf39 commit c393500
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/cloudsmith-package-sychronised.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,37 @@ jobs:
topic: ${{ github.repository }} scheduled job failure
content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }}/job/${{ github.job }} failed.

send-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
runs-on: ubuntu-latest
strategy:
matrix:
repo:
- ponylang/corral
- ponylang/ponyup
steps:
- name: Send
uses: ponylang-main/repository-dispatch@ce5485de42c9b2622d2ed064be479e8ed65e76f4
with:
token: ${{ secrets.PONYLANG_MAIN_API_TOKEN }}
repository: ${{ matrix.repo }}
event-type: ponyc-x86_64-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 c393500

Please sign in to comment.