Skip to content

Commit

Permalink
Fix Scala Native version for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
adpi2 committed May 15, 2024
1 parent af03c95 commit 42a123c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}

- name: Local publish Toolkit for native
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
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
env:
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}

Expand All @@ -57,15 +57,14 @@ jobs:
env:
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}


- name: Publish Toolkit for JVM
run: scala-cli --power publish --cross 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
continue-on-error: true
env:
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}

- name: Publish Toolkit for native
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
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
continue-on-error: true
env:
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}
Expand All @@ -84,7 +83,7 @@ jobs:
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}

- name: Publish Toolkit Test for native
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
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
continue-on-error: true
env:
TOOLKIT_VERSION: ${{ github.ref_name }}
Expand Down

0 comments on commit 42a123c

Please sign in to comment.