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.
2 parents 8b4d12f + 23d7a9d commit 1b5fb50Copy full SHA for 1b5fb50
.github/workflows/scala.yml
@@ -1,8 +1,10 @@
1
name: Scala CI
2
3
on:
4
-- push
5
-- pull_request
+ push:
+ branches-ignore:
6
+ - 'update/**'
7
+ pull_request:
8
9
jobs:
10
build:
@@ -44,5 +46,5 @@ jobs:
44
46
- name: Publish to Maven Central Repository
45
47
env:
48
GITHUB_PERSONAL_ACCESS_TOKEN: ${{secrets.PERSONAL_ACCESS_TOKEN}}
- if: ${{ env.GITHUB_PERSONAL_ACCESS_TOKEN != '' }}
49
+ if: ${{ env.GITHUB_PERSONAL_ACCESS_TOKEN != '' && github.event_name != 'pull_request' }}
50
run: sbt ${{matrix.sbt-args}} ++${{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