From 6c07c5c8e42ce6632fd173e138970f0c264b8911 Mon Sep 17 00:00:00 2001 From: Jens-Uwe Mager Date: Tue, 31 Oct 2023 23:36:20 +0100 Subject: [PATCH] Try if always to get notfications on failure. --- .github/workflows/goreleaser.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index e224c93..fbbc681 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -11,18 +11,15 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - - name: Checkout + - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - - - name: Set up Go + - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.21' - - - name: Run GoReleaser + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: # either 'goreleaser' (default) or 'goreleaser-pro' @@ -31,8 +28,8 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Send Webhook Notification + - name: Send Webhook Notification + if: always() env: JOB_STATUS: ${{ job.status }} WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}