Skip to content

Commit 220a6bf

Browse files
Updated sbt-ci-release to use central.sonatype.com for artifact publication
1 parent 29e91ec commit 220a6bf

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ jobs:
1919
distribution: "temurin"
2020
cache: "sbt"
2121
java-version: ${{ matrix.java }}
22-
- run: |
23-
ls $JAVA_HOME
24-
sbt scripted +test
25-
shell: bash
22+
- uses: sbt/setup-sbt@v1
23+
- run: sbt scripted +test
2624

2725
check:
2826
runs-on: ubuntu-latest
@@ -33,4 +31,5 @@ jobs:
3331
distribution: "temurin"
3432
cache: "sbt"
3533
java-version: 17
34+
- uses: sbt/setup-sbt@v1
3635
- run: sbt checkAll

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
name: Release
22
on:
33
push:
4-
branches: [main]
54
tags: ["*"]
65
jobs:
76
publish:
87
runs-on: ubuntu-latest
98
steps:
10-
- uses: actions/checkout@v2
11-
- uses: olafurpg/setup-scala@v13
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-java@v4
11+
with:
12+
distribution: "temurin"
13+
java-version: 17
14+
- uses: sbt/setup-sbt@v1
1215
- uses: olafurpg/setup-gpg@v3
1316
- run: git fetch --unshallow
1417
- name: Publish ${{ github.ref }}

.github/workflows/sourcegraph.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
distribution: "temurin"
1616
cache: "sbt"
1717
java-version: 17
18+
- uses: sbt/setup-sbt@v1
1819
- run: sbt dumpVersion publishLocal
1920
- run: echo "addSbtPlugin(\"com.sourcegraph\" % \"sbt-sourcegraph\" % \"$(cat VERSION)\")" > project/sourcegraph_generated.sbt
2021
- run: sbt sourcegraphEnable sourcegraphScip

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.9.3
1+
sbt.version=1.11.1

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.5")
1+
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.11.2")
22
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.10.0")
33
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3")
44
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.29")

0 commit comments

Comments
 (0)