File tree Expand file tree Collapse file tree 2 files changed +45
-24
lines changed Expand file tree Collapse file tree 2 files changed +45
-24
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ tags :
7
+ - " v*"
8
+ pull_request :
9
+
10
+ jobs :
11
+ test :
12
+ runs-on : ubuntu-latest
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ SCALA : [2.12.11, 2.13.2]
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+ - uses : coursier/cache-action@v6
20
+ - uses : laughedelic/coursier-setup@v1
21
+ with :
22
+ jvm : 8
23
+ apps : sbt-launcher
24
+ - run : sbt ++$SCALA_VERSION test evictionCheck compatibilityCheck
25
+ env :
26
+ SCALA_VERSION : ${{ matrix.SCALA_VERSION }}
27
+
28
+ publish :
29
+ needs : test
30
+ if : github.event_name == 'push'
31
+ runs-on : ubuntu-latest
32
+ steps :
33
+ - uses : actions/checkout@v2
34
+ - uses : coursier/cache-action@v6
35
+ - uses : laughedelic/coursier-setup@v1
36
+ with :
37
+ jvm : 8
38
+ apps : sbt-launcher
39
+ - name : Release
40
+ run : sbt ci-release
41
+ env :
42
+ PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
43
+ PGP_SECRET : ${{ secrets.PGP_SECRET }}
44
+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
45
+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments