Set up JDK before attempting builds
@@ -73,6 +73,10 @@ jobs:
if: github.ref == 'refs/heads/quarkus-master' || github.base_ref == 'quarkus-master'
run: |
echo '::set-env name=BRANCH_OPTIONS::-Poss-snapshots -Dquarkus.version=999-SNAPSHOT'
+ - name: Set up JDK 11
+ uses: joschi/setup-jdk@v1
+ with:
+ java-version: 11
- name: Build Quarkus
if: github.ref == 'refs/heads/quarkus-master' || github.base_ref == 'quarkus-master'
run: |
@@ -82,10 +86,6 @@ jobs:
&& ./mvnw -B clean install -DskipTests -DskipITs
- name: Checkout
uses: actions/checkout@v2
- - name: Set up JDK 11
- uses: joschi/setup-jdk@v1
- with:
- java-version: 11
- name: Build Project
run: |
./mvnw -V -ntp ${BRANCH_OPTIONS} \
