diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8217f87..f82bdc9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,9 @@ jobs: with: fetch-depth: 0 - uses: fregante/setup-git-user@v2 + - uses: actions/setup-node@v4 + with: + node-version: 20 - id: install-zx run: npm i -g zx - id: install-semver-tool @@ -44,3 +47,15 @@ jobs: env: GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}" + notify-slack-failure: + runs-on: ubuntu-latest + needs: [ release ] + if: failure() + steps: + - uses: voxmedia/github-action-slack-notify-build@v1 + with: + status: FAILED + channel: build_status + color: danger + env: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}