Skip to content

Commit

Permalink
Merge pull request #212 from Atry/template
Browse files Browse the repository at this point in the history
Update template
  • Loading branch information
Atry authored Jan 26, 2023
2 parents 8b4d12f + 23d7a9d commit 1b5fb50
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Scala CI

on:
- push
- pull_request
push:
branches-ignore:
- 'update/**'
pull_request:

jobs:
build:
Expand Down Expand Up @@ -44,5 +46,5 @@ jobs:
- name: Publish to Maven Central Repository
env:
GITHUB_PERSONAL_ACCESS_TOKEN: ${{secrets.PERSONAL_ACCESS_TOKEN}}
if: ${{ env.GITHUB_PERSONAL_ACCESS_TOKEN != '' }}
if: ${{ env.GITHUB_PERSONAL_ACCESS_TOKEN != '' && github.event_name != 'pull_request' }}
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 comments on commit 1b5fb50

Please sign in to comment.