File tree Expand file tree Collapse file tree 3 files changed +18
-7
lines changed Expand file tree Collapse file tree 3 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
build :
9
- runs-on : ubuntu-latest
9
+ runs-on : ubuntu-20.04
10
10
steps :
11
11
- uses : actions/checkout@v2
12
12
- name : Set up JDK 1.8
13
13
uses : actions/setup-java@v1
14
14
with :
15
15
java-version : 1.8
16
+ - uses : coursier/cache-action@v5
16
17
- name : Check/Compile/Test
17
18
run : sbt check
18
19
update_release_draft :
19
- runs-on : ubuntu-latest
20
+ runs-on : ubuntu-20.04
20
21
steps :
21
22
- uses : release-drafter/release-drafter@v5
22
23
env :
Original file line number Diff line number Diff line change @@ -3,12 +3,15 @@ on: [pull_request]
3
3
4
4
jobs :
5
5
build :
6
- runs-on : ubuntu-latest
6
+ runs-on : ubuntu-20.04
7
7
steps :
8
8
- uses : actions/checkout@v2
9
9
- name : Set up JDK 1.8
10
10
uses : actions/setup-java@v1
11
11
with :
12
12
java-version : 1.8
13
+ - uses : coursier/cache-action@v5
14
+ with :
15
+ extraKey : pr-${GITHUB_HEAD_REF}
13
16
- name : Check/Compile/Test
14
17
run : sbt check
Original file line number Diff line number Diff line change 5
5
6
6
jobs :
7
7
build :
8
- runs-on : ubuntu-latest
8
+ runs-on : ubuntu-20.04
9
9
steps :
10
10
- uses : actions/checkout@v2
11
11
- name : Set up JDK 1.8
12
12
uses : actions/setup-java@v1
13
13
with :
14
14
java-version : 1.8
15
- - name : Install GPG
16
- uses : olafurpg/setup-gpg@v3
15
+ - uses : coursier/cache-action@v5
17
16
- name : Check/Compile/Test
18
17
run : sbt check
19
18
- name : Release
@@ -23,11 +22,19 @@ jobs:
23
22
SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
24
23
SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
25
24
run : sbt ci-release
25
+ - uses : actions/cache@v1
26
+ with :
27
+ path : vendor/bundle
28
+ key : ${{ runner.os }}-gems
29
+ restore-keys : |
30
+ ${{ runner.os }}-gems
26
31
- uses : actions/setup-ruby@v1
27
32
with :
28
33
ruby-version : ' 2.6'
29
34
- name : Install jekyll
30
- run : gem install jekyll -v 4.0.0
35
+ run : |
36
+ export GEM_HOME=${PWD}/vendor/bundle
37
+ gem install jekyll -v 4.0.0
31
38
- name : Publish Microsite
32
39
env :
33
40
DEPLOY_KEY : ${{ secrets.DEPLOY_KEY }}
You can’t perform that action at this time.
0 commit comments