Skip to content

Commit 1823c34

Browse files
committed
Update Scala Native version
1 parent 3305d81 commit 1823c34

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/deploy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}
4848

4949
- name: Local publish Toolkit for native
50-
run: scala-cli --power publish local --cross --native --native-version 0.4.17 Toolkit.scala publish-conf.scala --gpg-key $PGP_KEY_ID --gpg-option --pinentry-mode --gpg-option loopback --gpg-option --passphrase --gpg-option $PGP_PASSWORD
50+
run: scala-cli --power publish local --cross --native Toolkit.scala publish-conf.scala --gpg-key $PGP_KEY_ID --gpg-option --pinentry-mode --gpg-option loopback --gpg-option --passphrase --gpg-option $PGP_PASSWORD
5151
env:
5252
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}
5353

@@ -64,7 +64,7 @@ jobs:
6464
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}
6565

6666
- name: Publish Toolkit for native
67-
run: scala-cli --power publish --cross --native --native-version 0.4.17 Toolkit.scala publish-conf.scala --password env:OSSRH_PASSWORD --user env:OSSRH_USERNAME --gpg-key $PGP_KEY_ID --gpg-option --pinentry-mode --gpg-option loopback --gpg-option --passphrase --gpg-option $PGP_PASSWORD
67+
run: scala-cli --power publish --cross --native Toolkit.scala publish-conf.scala --password env:OSSRH_PASSWORD --user env:OSSRH_USERNAME --gpg-key $PGP_KEY_ID --gpg-option --pinentry-mode --gpg-option loopback --gpg-option --passphrase --gpg-option $PGP_PASSWORD
6868
continue-on-error: true
6969
env:
7070
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}
@@ -83,7 +83,7 @@ jobs:
8383
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}
8484

8585
- name: Publish Toolkit Test for native
86-
run: scala-cli --power publish --dependency "org.scala-lang::toolkit::$TOOLKIT_VERSION" --cross --native --native-version 0.4.17 ToolkitTest.scala publish-conf.scala --password env:OSSRH_PASSWORD --user env:OSSRH_USERNAME --gpg-key $PGP_KEY_ID --gpg-option --pinentry-mode --gpg-option loopback --gpg-option --passphrase --gpg-option $PGP_PASSWORD
86+
run: scala-cli --power publish --dependency "org.scala-lang::toolkit::$TOOLKIT_VERSION" --cross --native ToolkitTest.scala publish-conf.scala --password env:OSSRH_PASSWORD --user env:OSSRH_USERNAME --gpg-key $PGP_KEY_ID --gpg-option --pinentry-mode --gpg-option loopback --gpg-option --passphrase --gpg-option $PGP_PASSWORD
8787
continue-on-error: true
8888
env:
8989
TOOLKIT_VERSION: ${{ github.ref_name }}

changelog/Platform.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ enum Platform:
44
def scalaCliOptions: Seq[String] = this match
55
case Jvm => Seq.empty
66
case Js => Seq("--js")
7-
case Native => Seq("--native", "--native-version", "0.4.17")
7+
case Native => Seq("--native")
88

99
def binarySuffix: String = this match
1010
case Jvm => ""
1111
case Js => "_sjs1"
12-
case Native => "_native0.4"
12+
case Native => "_native0.5"

tests/CrossPlatform.test.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class CrossPlatformTests extends munit.FunSuite:
99
requireCmd("scala-cli")
1010
test("jvm")(publishAndRun("jvm", "1.0.0-SNAPSHOT"))
1111
test("js")(publishAndRun("js", "1.0.0-SNAPSHOT", "--js"))
12-
test("native")(publishAndRun("native", "1.0.0-SNAPSHOT", "--native", "--native-version", "0.4.17"))
12+
test("native")(publishAndRun("native", "1.0.0-SNAPSHOT", "--native", "--native-version", "0.5.1"))
1313

1414
override val munitTimeout = Duration(90, "s")
1515

0 commit comments

Comments
 (0)