Skip to content

Commit 8a7c49c

Browse files
authored
Upgrades and clean (#28)
* 📝 docs: update README * 🧪 test: update test project (plugins and scala version)
1 parent 166f7c2 commit 8a7c49c

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Publishes 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

@@ -25,20 +25,22 @@ on:
2525
- "release/*"
2626

2727
jobs:
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
3839
uses: cucumber/[email protected]
3940
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+
```

test/build.sbt

+3-3
Original file line numberDiff line numberDiff 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

3737
scalaVersion := scala213
3838

test/project/build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.9.3
1+
sbt.version=1.10.10

test/project/plugins.sbt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
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
55
addSbtPlugin("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")

0 commit comments

Comments
 (0)