Skip to content

Commit

Permalink
Handle platform deps
Browse files Browse the repository at this point in the history
  • Loading branch information
szymon-rd authored Jun 20, 2023
1 parent f28dc30 commit 00dd885
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,21 @@ jobs:
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}

- name: Publish Toolkit Test for JVM
run: for i in {1..5}; do scala-cli --power publish --dependency "org.scala-lang::toolkit:$TOOLKIT_VERSION" --cross 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 && break || sleep 15; done
run: for i in {1..5}; do scala-cli --power publish --dependency "org.scala-lang::toolkit::$TOOLKIT_VERSION" --cross 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 && break || sleep 15; done
continue-on-error: true
env:
TOOLKIT_VERSION: ${{ github.ref_name }}
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}

- name: Publish Toolkit Test for native
run: for i in {1..5}; do 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 && break || sleep 15; done
run: for i in {1..5}; do 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 && break || sleep 15; done
continue-on-error: true
env:
TOOLKIT_VERSION: ${{ github.ref_name }}
PGP_KEY_ID: ${{ steps.import_gpg.outputs.fingerprint }}

- name: Publish Toolkit Test for JS
run: for i in {1..5}; do scala-cli --power publish --dependency "org.scala-lang::toolkit:$TOOLKIT_VERSION" --cross --js 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 && break || sleep 15; done
run: for i in {1..5}; do scala-cli --power publish --dependency "org.scala-lang::toolkit::$TOOLKIT_VERSION" --cross --js 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 && break || sleep 15; done
continue-on-error: true
env:
TOOLKIT_VERSION: ${{ github.ref_name }}
Expand Down

0 comments on commit 00dd885

Please sign in to comment.