diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index fe71d6c..76e4cbb 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -8,10 +8,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 17 - name: Rewrite version run: | branch="`echo "${{ github.ref }}" | grep -o "[^/]*$"`" diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 83a91c3..46f6769 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -11,6 +11,9 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 17 - name: Rewrite version run: | branch="`echo "${{ github.ref }}" | grep -o "[^/]*$"`"