Bump actions/checkout and actions/setup-java
MODIFY
.github/workflows/continuous-integration.yaml
.github/workflows/continuous-integration.yaml
@@ -17,8 +17,8 @@ jobs:
max-parallel: 2
matrix:
java:
- - '1.8'
- - '11.0.5'
+ - '8'
+ - '11'
- '16'
os:
- ubuntu-latest
@@ -30,11 +30,12 @@ jobs:
java: '16'
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
with:
fetch-depth: 1
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: Build
run: |
@@ -50,11 +51,12 @@ jobs:
name: Build on Windows
runs-on: windows-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
with:
fetch-depth: 1
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'adopt'
java-version: 11
- name: Assemble
shell: cmd

MODIFY
.github/workflows/upstream-build.yaml
.github/workflows/upstream-build.yaml
@@ -6,13 +6,14 @@ jobs:
name: ${{ github.event.client_payload.message }}
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
with:
fetch-depth: 1
ref: ${{ github.event.client_payload.branch }}
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
- java-version: '1.8'
+ distribution: 'adopt'
+ java-version: '8'
- name: Build
run: |
unset GEM_PATH GEM_HOME JRUBY_OPTS

Bump actions/checkout and actions/setup-java