Skip to content

Commit fb8c131

Browse files
committed
Move binary before publish
1 parent cfaec74 commit fb8c131

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@ jobs:
160160
- if: startsWith(github.ref, 'refs/tags/')
161161
run: sbt ++${{ matrix.scala }} nativeImage
162162

163+
- run: mv target/native-image/spotify-next target/native-image/spotify-next-${{ matrix.os }}
164+
163165
- if: startsWith(github.ref, 'refs/tags/')
164166
uses: softprops/action-gh-release@v1
165167
with:
166-
files: target/native-image/spotify-next-${{ matrix.os }}
168+
files: target/native-image/spotify-next

build.sbt

+6-1
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,14 @@ ThisBuild / githubWorkflowGeneratedCI ~= {
4545
List("nativeImage"),
4646
cond = Some("startsWith(github.ref, 'refs/tags/')")
4747
),
48+
WorkflowStep.Run(
49+
List(
50+
"mv target/native-image/spotify-next target/native-image/spotify-next-${{ matrix.os }}"
51+
)
52+
),
4853
WorkflowStep.Use(
4954
UseRef.Public("softprops", "action-gh-release", "v1"),
50-
params = Map("files" -> "target/native-image/spotify-next-${{ matrix.os }}"),
55+
params = Map("files" -> "target/native-image/spotify-next"),
5156
cond = Some("startsWith(github.ref, 'refs/tags/')")
5257
)
5358
)

0 commit comments

Comments
 (0)