File tree Expand file tree Collapse file tree 4 files changed +14
-12
lines changed Expand file tree Collapse file tree 4 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 44
55Publishes a Scala module to [ Maven Central] ( https://search.maven.org/ )
66
7- Needs Java to be installed first.
7+ Needs Java & SBT to be installed first.
88
99## Inputs
1010
2525 - " release/*"
2626
2727jobs :
28- publish-ui :
29- name : Publish UI package to mvn
28+ publish-sbt :
29+ name : Publish SBT package to Maven Central
3030 runs-on : ubuntu-latest
3131 environment : Release
3232 steps :
3333 - uses : actions/checkout@v2
3434 - uses : actions/setup-java@v1
3535 with :
3636 java-version : ' 11'
37- - name : Test the action
37+ - uses : sbt/setup-sbt@v1
38+ - name : Publish
38393940 with :
4041 gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
4142 gpg-passphrase : ${{ secrets.GPG_PASSPHRASE }}
4243 nexus-username : ${{ secrets.SONATYPE_USERNAME }}
4344 nexus-password : ${{ secrets.SONATYPE_PASSWORD }}
44- working-directory : " scala"
45+ working-directory : " ."
46+ ` ` `
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ ThisBuild / homepage := Some(
3030
3131// Scala versions
3232
33- val scala212 = " 2.12.15 "
34- val scala213 = " 2.13.11 "
35- val scala3 = " 3.0.2 "
33+ val scala212 = " 2.12.20 "
34+ val scala213 = " 2.13.16 "
35+ val scala3 = " 3.3.5 "
3636
3737scalaVersion := scala213
3838
Original file line number Diff line number Diff line change 1- sbt.version =1.9.3
1+ sbt.version =1.10.10
Original file line number Diff line number Diff line change 11// Cross compilation matrix
2- addSbtPlugin(" com.eed3si9n" % " sbt-projectmatrix" % " 0.9 .1" )
2+ addSbtPlugin(" com.eed3si9n" % " sbt-projectmatrix" % " 0.10 .1" )
33
44// Release
55addSbtPlugin(" com.github.gseitz" % " sbt-release" % " 1.0.13" )
66
77// Publishing
8- addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.9.21 " )
9- addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.2 .1" )
8+ addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.12.2 " )
9+ addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.3 .1" )
You canβt perform that action at this time.
0 commit comments