Fix compilation issue

This commit is contained in:
Andrea Cavalli 2021-10-09 00:40:06 +02:00
parent d9de99a634
commit e3f29b7c5b
1 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- { os: ubuntu-20.04, arch: "linux/amd64" } - { os: ubuntu-21.04, arch: "linux/amd64" }
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -27,11 +27,11 @@ jobs:
export REVISION=${{ github.run_number }} export REVISION=${{ github.run_number }}
echo "REVISION=$REVISION" >> $GITHUB_ENV echo "REVISION=$REVISION" >> $GITHUB_ENV
- name: Set up JDK 16 - name: Set up JDK 17
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
uses: actions/setup-java@v1 uses: actions/setup-java@v1
with: with:
java-version: 16 java-version: 17
server-id: mchv-release-distribution server-id: mchv-release-distribution
server-username: MAVEN_USERNAME server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD server-password: MAVEN_PASSWORD