Skip to content

Commit 894ae9c

Browse files
Update sbt to 1.9.8 (#117)
- Move CI to coursier actions instead of deprecated setup-scala - Do not run CI twice on pull requests - Run on latest ubuntu version
1 parent d989336 commit 894ae9c

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
11
name: CI
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches:
5+
- master
6+
pull_request: {}
57
jobs:
68
ci:
7-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-latest
810
steps:
9-
- uses: actions/checkout@v2.3.4
11+
- uses: actions/checkout@v3
1012
with:
1113
fetch-depth: 0
12-
- name: Cache SBT
13-
uses: actions/cache@v2
14+
- uses: coursier/cache-action@v6
15+
- uses: coursier/setup-action@v1
1416
with:
15-
path: |
16-
~/.ivy2/cache
17-
~/.sbt
18-
key: ${{ runner.os }}-sbt
19-
- uses: olafurpg/setup-scala@v13
20-
with:
21-
java-version: graalvm-ce-java8@21.1.0
17+
jvm: zulu:8.0.402
2218
- uses: olafurpg/setup-gpg@v3
23-
- run: ./make.sh
24-
- run: ./publish.sh
19+
- run: ./make.sh && ./publish.sh
2520
env:
21+
SBT_NATIVE_CLIENT: false
2622
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
2723
PGP_SECRET: ${{ secrets.PGP_SECRET }}
2824
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}

project/build.properties

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

0 commit comments

Comments
 (0)