We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d4d899 commit b78f28dCopy full SHA for b78f28d
.github/workflows/scala.yml
@@ -42,5 +42,5 @@ jobs:
42
- name: Publish to Maven Central Repository
43
env:
44
GITHUB_PERSONAL_ACCESS_TOKEN: ${{secrets.PERSONAL_ACCESS_TOKEN}}
45
- if: ${{ env.GITHUB_PERSONAL_ACCESS_TOKEN != '' }}
+ if: ${{ env.GITHUB_PERSONAL_ACCESS_TOKEN != '' && github.event_name != 'pull_request' }}
46
run: sbt ++${{ matrix.scala }} "set every Seq(sonatypeSessionName := \"${{github.workflow}} ${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}-$$ ${{ matrix.scala }}\", publishTo := sonatypePublishToBundle.value)" publishSigned sonatypeBundleRelease
0 commit comments