Skip to content

Commit

Permalink
Configure java-debug version using env var
Browse files Browse the repository at this point in the history
  • Loading branch information
adpi2 committed Mar 8, 2023
1 parent ac146d5 commit 6f35bde
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Manual Release
name: Release Expression Compiler (manual)
on:
workflow_dispatch:
inputs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Release
name: Full Release (manual)
on:
workflow_dispatch:
push:
tags: ["*"]
inputs:
java-debug-version:
required: true
description: 'Go find next version at https://repo1.maven.org/maven2/ch/epfl/scala/com-microsoft-java-debug-core/'
jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -16,6 +18,7 @@ jobs:
jvm: 'adopt:1.8.0-292'
- run: sbt ci-release
env:
JAVA_DEBUG_VERSION: ${{ inputs.java-debug-version }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ lazy val javaDebug = project
"com.github.sbt" % "junit-interface" % "0.13.3" % Test
),
Test / fork := true,
version := (if (isRelease) "0.34.0+12" else "0.34.0+12-SNAPSHOT")
version := Option(System.getenv("JAVA_DEBUG_VERSION")).getOrElse("0.34.0-SNAPSHOT")
)

lazy val core212 = core.jvm(Dependencies.scala212)
Expand Down

0 comments on commit 6f35bde

Please sign in to comment.