Skip to content

Commit bc910a4

Browse files
committed
Update GitHub Actions. Update all
1 parent c647b34 commit bc910a4

4 files changed

Lines changed: 10 additions & 19 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,12 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- name: Cache
11-
uses: actions/cache@v2
12-
env:
13-
cache-name: cache-sbt-libs
14-
with:
15-
path: |
16-
~/.ivy2/cache
17-
~/.sbt
18-
~/.coursier
19-
key: build-${{ env.cache-name }}-${{ hashFiles('build.sbt') }}
9+
- uses: actions/checkout@v6
10+
- uses: sbt/setup-sbt@v1
2011
- name: Set up JDK
21-
uses: actions/setup-java@v2
12+
uses: actions/setup-java@v5
2213
with:
23-
java-version: '8'
14+
java-version: '17'
2415
distribution: 'adopt'
2516
- name: Run tests
2617
run: |
@@ -34,7 +25,7 @@ jobs:
3425
npm install
3526
npm run-script release
3627
- name: Upload artifacts
37-
uses: actions/upload-artifact@v2
28+
uses: actions/upload-artifact@v6
3829
with:
3930
name: gitbucket-explorer-plugin-${{ github.sha }}
4031
path: ./target/scala-2.13/*.jar

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
organization := "io.github.gitbucket"
22
name := "gitbucket-explorer-plugin"
33
version := "9.0.0"
4-
scalaVersion := "2.13.5"
5-
gitbucketVersion := "4.35.3"
4+
scalaVersion := "2.13.18"
5+
gitbucketVersion := "4.45.0"
66

77
scalacOptions := Seq("-deprecation", "-feature", "-language:postfixOps")
8-
javacOptions in compile ++= Seq("-target", "8", "-source", "8")
8+
javacOptions ++= Seq("-target", "8", "-source", "8")
99

1010
useJCenter := true

project/build.properties

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

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
logLevel := Level.Warn
2-
addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.5.1")
2+
addSbtPlugin("io.github.gitbucket" % "sbt-gitbucket-plugin" % "1.6.0")

0 commit comments

Comments
 (0)