File tree Expand file tree Collapse file tree 2 files changed +1
-38
lines changed
Expand file tree Collapse file tree 2 files changed +1
-38
lines changed Original file line number Diff line number Diff line change 1212 branches : ['*']
1313 push :
1414 branches : ['*']
15- tags : [v*]
1615
1716env :
1817 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9089 if : matrix.platform == 'jvm' && matrix.scala == '2.12.13'
9190 run : sbt ++${{ matrix.scala }} mimaReportBinaryIssues
9291
93- publish :
94- name : Publish Artifacts
95- needs : [build]
96- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
97- strategy :
98- matrix :
99- os : [ubuntu-latest]
100- scala : [2.13.5]
101- 102- runs-on : ${{ matrix.os }}
103- steps :
104- - name : Checkout current branch (full)
105- uses : actions/checkout@v2
106- with :
107- fetch-depth : 0
108-
109- - name : Setup Java and Scala
110- uses : olafurpg/setup-scala@v10
111- with :
112- java-version : ${{ matrix.java }}
113-
114- - name : Cache sbt
115- uses : actions/cache@v2
116- with :
117- path : |
118- ~/.sbt
119- ~/.ivy2/cache
120- ~/.coursier/cache/v1
121- ~/.cache/coursier/v1
122- ~/AppData/Local/Coursier/Cache/v1
123- ~/Library/Caches/Coursier/v1
124- key : ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
125-
12692 checks :
12793 name : Format Scala code
12894 strategy :
Original file line number Diff line number Diff line change @@ -67,10 +67,7 @@ ThisBuild / githubWorkflowAddedJobs ++= Seq(
6767ThisBuild / githubWorkflowArtifactUpload := false
6868
6969ThisBuild / githubWorkflowPublish := Seq ()
70-
71- ThisBuild / githubWorkflowTargetTags ++= Seq (" v*" )
72- ThisBuild / githubWorkflowPublishTargetBranches :=
73- Seq (RefPredicate .StartsWith (Ref .Tag (" v" )))
70+ ThisBuild / githubWorkflowPublishTargetBranches := Seq ()
7471
7572def scalaVersionSpecificFolders (srcName : String , srcBaseDir : java.io.File , scalaVersion : String ) = {
7673 def extraDirs (suffix : String ) =
You can’t perform that action at this time.
0 commit comments