File tree 4 files changed +14
-12
lines changed
4 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 4
4
5
5
Publishes a Scala module to [ Maven Central] ( https://search.maven.org/ )
6
6
7
- Needs Java to be installed first.
7
+ Needs Java & SBT to be installed first.
8
8
9
9
## Inputs
10
10
25
25
- " release/*"
26
26
27
27
jobs :
28
- publish-ui :
29
- name : Publish UI package to mvn
28
+ publish-sbt :
29
+ name : Publish SBT package to Maven Central
30
30
runs-on : ubuntu-latest
31
31
environment : Release
32
32
steps :
33
33
- uses : actions/checkout@v2
34
34
- uses : actions/setup-java@v1
35
35
with :
36
36
java-version : ' 11'
37
- - name : Test the action
37
+ - uses : sbt/setup-sbt@v1
38
+ - name : Publish
38
39
39
40
with :
40
41
gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
41
42
gpg-passphrase : ${{ secrets.GPG_PASSPHRASE }}
42
43
nexus-username : ${{ secrets.SONATYPE_USERNAME }}
43
44
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(
30
30
31
31
// Scala versions
32
32
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 "
36
36
37
37
scalaVersion := scala213
38
38
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 1
1
// Cross compilation matrix
2
- addSbtPlugin(" com.eed3si9n" % " sbt-projectmatrix" % " 0.9 .1" )
2
+ addSbtPlugin(" com.eed3si9n" % " sbt-projectmatrix" % " 0.10 .1" )
3
3
4
4
// Release
5
5
addSbtPlugin(" com.github.gseitz" % " sbt-release" % " 1.0.13" )
6
6
7
7
// 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