From a9cf4dc1b58d8f7864cf8925d030479f96755d5a Mon Sep 17 00:00:00 2001 From: Arman Bilge Date: Tue, 16 Jan 2024 00:00:35 +0000 Subject: [PATCH] Fix Discord post step in release job --- .github/workflows/ci.yml | 2 +- build.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2af105f9bb..cbb6a648d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -549,7 +549,7 @@ jobs: - name: Post release to Discord env: DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} - run: scripts/post-release-discord ${{ github.ref }} + run: scripts/post-release-discord.sh ${{ github.ref }} dependency-submission: name: Submit Dependencies diff --git a/build.sbt b/build.sbt index c7cd2a5cc2..828a8de112 100644 --- a/build.sbt +++ b/build.sbt @@ -215,7 +215,7 @@ ThisBuild / githubWorkflowBuild := Seq("JVM", "JS", "Native").map { platform => ThisBuild / githubWorkflowPublish += WorkflowStep.Run( - List("scripts/post-release-discord ${{ github.ref }}"), + List("scripts/post-release-discord.sh ${{ github.ref }}"), name = Some("Post release to Discord"), env = Map("DISCORD_WEBHOOK_URL" -> "${{ secrets.DISCORD_WEBHOOK_URL }}") )