1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-30 05:59:39 +02:00

Run build on java 8 (#2675)

Workaround for #1723, because Ubuntu 20.04 VMs include Java 11 by default
This commit is contained in:
Florian Wilhelm 2021-03-11 10:35:56 +01:00 committed by GitHub
parent 86151c447f
commit 9f25fd5950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
# Workaround for https://github.com/SAP/jenkins-library/issues/1723, build only works with jdk8 currently
- uses: actions/setup-java@v1
with:
java-version: '8'
- name: Prepare Release
run: |
curl --insecure --silent --location --write-out '%{http_code}' --output ./piper_master https://github.com/SAP/jenkins-library/releases/latest/download/piper_master