diff --git a/.github/workflows/cloudsmith-package-sychronised.yml b/.github/workflows/cloudsmith-package-sychronised.yml index 744e823b61..276542d465 100644 --- a/.github/workflows/cloudsmith-package-sychronised.yml +++ b/.github/workflows/cloudsmith-package-sychronised.yml @@ -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]