diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80cfde9..3d95fad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,8 +21,9 @@ jobs: - name: Semantic Release id: semantic - uses: cycjimmy/semantic-release-action@v4 + uses: cycjimmy/semantic-release-action@v5 with: + semantic_version: 24 extra_plugins: | @semantic-release/changelog@6.0.2 @semantic-release/git@10.0.1 diff --git a/action.yml b/action.yml index 496a0a9..75b34d3 100644 --- a/action.yml +++ b/action.yml @@ -68,13 +68,13 @@ runs: - name: Send notification if: always() - uses: slackapi/slack-github-action@v1.25.0 - env: - SLACK_BOT_TOKEN: ${{ inputs.token }} + uses: slackapi/slack-github-action@v3 with: - channel-id: ${{ inputs.channel }} + method: chat.postMessage + token: ${{ inputs.token }} payload: | { + "channel": "${{ inputs.channel }}", "text": ":${{ steps.fields.outputs.emoji }}: *Workflow ${{ inputs.status }}*", "attachments": [ {