-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add separate failure job for releases
- Loading branch information
Showing
1 changed file
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -186,12 +186,30 @@ jobs: | |
asset_name: ark-${{ needs.get_version.outputs.ARK_VERSION }}${{ env.DEBUG_FLAG }}-linux-arm64.zip | ||
asset_content_type: application/octet-stream | ||
|
||
status: | ||
# status: | ||
# if: ${{ failure() }} | ||
# runs-on: ubuntu-latest | ||
# needs: [build_macos, build_windows, build_linux, get_version] | ||
# steps: | ||
# - name: Notify slack if build fails | ||
# uses: slackapi/[email protected] | ||
# id: slack-failure | ||
# with: | ||
# payload: | | ||
# { | ||
# "message": "Positron build ${{ needs.get_version.outputs.ARK_VERSION }} failed", | ||
# "status": "Failure", | ||
# "run_url": "https://github.com/posit-dev/positron/actions/runs/${{ github.run_id }}" | ||
# } | ||
# env: | ||
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
|
||
cleanup: | ||
if: ${{ failure() }} | ||
runs-on: ubuntu-latest | ||
needs: [build_macos, build_windows, get_version] | ||
needs: [upload_release_binaries] | ||
steps: | ||
# - name: Notify slack if build fails | ||
# - name: Notify slack if release fails | ||
# uses: slackapi/[email protected] | ||
# id: slack-failure | ||
# with: | ||
|