diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4994172e..9cd2a5da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -160,7 +160,9 @@ jobs: - if: startsWith(github.ref, 'refs/tags/') run: sbt ++${{ matrix.scala }} nativeImage + - run: mv target/native-image/spotify-next target/native-image/spotify-next-${{ matrix.os }} + - if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v1 with: - files: target/native-image/spotify-next-${{ matrix.os }} + files: target/native-image/spotify-next diff --git a/build.sbt b/build.sbt index 0e6a21e7..eb66a55e 100644 --- a/build.sbt +++ b/build.sbt @@ -45,9 +45,14 @@ ThisBuild / githubWorkflowGeneratedCI ~= { List("nativeImage"), cond = Some("startsWith(github.ref, 'refs/tags/')") ), + WorkflowStep.Run( + List( + "mv target/native-image/spotify-next target/native-image/spotify-next-${{ matrix.os }}" + ) + ), WorkflowStep.Use( UseRef.Public("softprops", "action-gh-release", "v1"), - params = Map("files" -> "target/native-image/spotify-next-${{ matrix.os }}"), + params = Map("files" -> "target/native-image/spotify-next"), cond = Some("startsWith(github.ref, 'refs/tags/')") ) )