diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fdf5ba882..89ba5ae25 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/slack-github-action@v1.24.0 + # 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/slack-github-action@v1.24.0 # id: slack-failure # with: