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 66
77jobs :
88 build :
9- runs-on : ubuntu-latest
9+ runs-on : ubuntu-20.04
1010 steps :
1111 - uses : actions/checkout@v2
1212 - name : Set up JDK 1.8
1313 uses : actions/setup-java@v1
1414 with :
1515 java-version : 1.8
16+ - uses : coursier/cache-action@v5
1617 - name : Check/Compile/Test
1718 run : sbt check
1819 update_release_draft :
19- runs-on : ubuntu-latest
20+ runs-on : ubuntu-20.04
2021 steps :
2122 - uses : release-drafter/release-drafter@v5
2223 env :
Original file line number Diff line number Diff line change @@ -3,12 +3,15 @@ on: [pull_request]
33
44jobs :
55 build :
6- runs-on : ubuntu-latest
6+ runs-on : ubuntu-20.04
77 steps :
88 - uses : actions/checkout@v2
99 - name : Set up JDK 1.8
1010 uses : actions/setup-java@v1
1111 with :
1212 java-version : 1.8
13+ - uses : coursier/cache-action@v5
14+ with :
15+ extraKey : pr-${GITHUB_HEAD_REF}
1316 - name : Check/Compile/Test
1417 run : sbt check
Original file line number Diff line number Diff line change 55
66jobs :
77 build :
8- runs-on : ubuntu-latest
8+ runs-on : ubuntu-20.04
99 steps :
1010 - uses : actions/checkout@v2
1111 - name : Set up JDK 1.8
1212 uses : actions/setup-java@v1
1313 with :
1414 java-version : 1.8
15- - name : Install GPG
16- uses : olafurpg/setup-gpg@v3
15+ - uses : coursier/cache-action@v5
1716 - name : Check/Compile/Test
1817 run : sbt check
1918 - name : Release
@@ -23,11 +22,19 @@ jobs:
2322 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
2423 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
2524 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
2631 - uses : actions/setup-ruby@v1
2732 with :
2833 ruby-version : ' 2.6'
2934 - 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
3138 - name : Publish Microsite
3239 env :
3340 DEPLOY_KEY : ${{ secrets.DEPLOY_KEY }}
You can’t perform that action at this time.
0 commit comments