add now-mandatory distribution parm in github actions
@@ -18,9 +18,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
+ distribution: 'adopt'
- name: print Java version
run: java -version
- uses: actions/cache@v2.1.5
