File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,16 @@ jobs:
1212 name : Publish
1313 runs-on : ubuntu-22.04
1414 if : github.repository == 'scala-native/scala-native-cli'
15+ env :
16+ # Present only for repository_dispatch; empty for tag push / manual runs
17+ CI_NATIVE_VERSION : ${{ github.event.client_payload.version || '' }}
1518 steps :
1619 - uses : actions/checkout@v3
1720 - uses : coursier/cache-action@v6
1821 - uses : coursier/setup-action@v1
1922 with :
2023 jvm : adopt:8
24+ apps : sbt
2125
2226 - name : Setup PGP Key
2327 run : |
Original file line number Diff line number Diff line change 1+ import scala .util .Properties .envOrNone
12import scala .scalanative .nir .Proxy .nativeBinaryVersion
23
4+ val ScalaNativeVersion = envOrNone(" CI_NATIVE_VERSION" )
5+ .filterNot(_.isEmpty)
6+ .getOrElse(" 0.5.8" )
37
48val crossScalaVersions212 = (14 to 20 ).map(" 2.12." + _)
59val crossScalaVersions213 = (8 to 17 ).map(" 2.13." + _)
You can’t perform that action at this time.
0 commit comments