File tree 1 file changed +3
-18
lines changed
1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -16,29 +16,14 @@ jobs:
16
16
SONATYPE_SBT : ${{ secrets.SONATYPE_SBT }}
17
17
18
18
steps :
19
- - uses : actions/checkout@v2
20
- - name : Setup JDK 11
21
- uses : actions/setup-java@v1
22
- with :
23
- java-version : 11
19
+ - uses : actions/checkout@v1
20
+ - uses : olafurpg/setup-scala@v2
24
21
- name : Setup GPG Keys
25
22
run : |
26
23
echo $GPG_KEYS | base64 -di > keys.zip
27
24
unzip -d project/.gnupg keys.zip
28
25
mkdir -p ~/.sbt/1.0
29
26
echo $SONATYPE_SBT > ~/.sbt/1.0/sonatype.sbt
30
- - name : Setup version in SBT
31
- run : |
32
- VERSION=${GITHUB_REF/refs\/tags\//}
33
- echo $VERSION
34
- sed "s/unstable-SNAPSHOT/${VERSION}/" build.sbt > build.sbt.2
35
- mv build.sbt.2 build.sbt
36
27
- name : Test & Release
37
- run : |
38
- VERSION=${GITHUB_REF/refs\/tags\//}
39
- if [[ $VERSION =~ \-SNAPSHOT$ ]]; then
40
- sbt test +publishSigned
41
- else
42
- sbt test +publishSigned sonatypeRelease
43
- fi
28
+ run : sbt ci-release
44
29
You can’t perform that action at this time.
0 commit comments