File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -93,15 +93,15 @@ jobs:
9393 run : sbt '++ ${{ matrix.scala }}' doc
9494
9595 - name : Make target directories
96- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' )
96+ if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
9797 run : mkdir -p rules/target project/target
9898
9999 - name : Compress target directories
100- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' )
100+ if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
101101 run : tar cf targets.tar rules/target project/target
102102
103103 - name : Upload target directories
104- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' )
104+ if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
105105 uses : actions/upload-artifact@v4
106106 with :
107107 name : target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }}
@@ -110,7 +110,7 @@ jobs:
110110 publish :
111111 name : Publish Artifacts
112112 needs : [build]
113- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' )
113+ if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
114114 strategy :
115115 matrix :
116116 os : [ubuntu-22.04]
Original file line number Diff line number Diff line change 1+ import xerial .sbt .Sonatype .sonatypeCentralHost
2+
13// https://typelevel.org/sbt-typelevel/faq.html#what-is-a-base-version-anyway
24ThisBuild / tlBaseVersion := " 0.4" // your current series x.y
35
@@ -10,7 +12,7 @@ ThisBuild / developers := List(
1012 tlGitHubDev(" samspills" , " Sam Pillsworth" )
1113)
1214
13- ThisBuild / tlSonatypeUseLegacyHost := true // publish to oss.sonatype.org
15+ ThisBuild / sonatypeCredentialHost := sonatypeCentralHost
1416
1517// publish website from this branch
1618ThisBuild / tlSitePublishBranch := Some (" main" )
You can’t perform that action at this time.
0 commit comments