Skip to content

Commit 6f35bde

Browse files
committed
Configure java-debug version using env var
1 parent ac146d5 commit 6f35bde

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/manual-release.yml renamed to .github/workflows/release-expression-compiler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Manual Release
1+
name: Release Expression Compiler (manual)
22
on:
33
workflow_dispatch:
44
inputs:

.github/workflows/release.yml renamed to .github/workflows/release-full.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
name: Release
1+
name: Full Release (manual)
22
on:
33
workflow_dispatch:
4-
push:
5-
tags: ["*"]
4+
inputs:
5+
java-debug-version:
6+
required: true
7+
description: 'Go find next version at https://repo1.maven.org/maven2/ch/epfl/scala/com-microsoft-java-debug-core/'
68
jobs:
79
publish:
810
runs-on: ubuntu-latest
@@ -16,6 +18,7 @@ jobs:
1618
jvm: 'adopt:1.8.0-292'
1719
- run: sbt ci-release
1820
env:
21+
JAVA_DEBUG_VERSION: ${{ inputs.java-debug-version }}
1922
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
2023
PGP_SECRET: ${{ secrets.PGP_SECRET }}
2124
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ lazy val javaDebug = project
5959
"com.github.sbt" % "junit-interface" % "0.13.3" % Test
6060
),
6161
Test / fork := true,
62-
version := (if (isRelease) "0.34.0+12" else "0.34.0+12-SNAPSHOT")
62+
version := Option(System.getenv("JAVA_DEBUG_VERSION")).getOrElse("0.34.0-SNAPSHOT")
6363
)
6464

6565
lazy val core212 = core.jvm(Dependencies.scala212)

0 commit comments

Comments
 (0)