You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2020/02/04 20:03:19 UTC

[wicket] branch master updated: Use AdoptOpenJDK 11.0.6 at Github Actions

This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/master by this push:
     new 2f27bfb  Use AdoptOpenJDK 11.0.6 at Github Actions
2f27bfb is described below

commit 2f27bfb6f171efc72ff27fa285baa5e8fa9d20e7
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Tue Feb 4 22:01:45 2020 +0200

    Use AdoptOpenJDK 11.0.6 at Github Actions
    
    This is an attempt to solve this issue:
    
    [INFO] Running org.apache.wicket.cdi.ConversationPropagatorTest
    [ERROR] Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 1 s <<< FAILURE! - in org.apache.wicket.cdi.ConversationPropagatorTest
    [ERROR] testPropagationAllBookmarkable  Time elapsed: 0.013 s  <<< ERROR!
    java.io.IOException: cannot connect to jrt:/org.openjsse
    
    [ERROR] testPropagationNonBookmarkable  Time elapsed: 0 s  <<< ERROR!
    java.io.IOException: cannot connect to jrt:/org.openjsse
    
    [ERROR] testPropagationAllHybridRefresh  Time elapsed: 0 s  <<< ERROR!
    java.io.IOException: cannot connect to jrt:/org.openjsse
    
    which seems to have started with
    https://github.com/apache/wicket/runs/380911847?check_suite_focus=true
    https://github.com/apache/wicket/commit/65e2266d8b205d3768986c3e6ad548cfb3759d35
---
 .github/workflows/maven.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 9435865..e80ab00 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -13,10 +13,14 @@ jobs:
     steps:
     - uses: actions/checkout@v1
 
+    - name: Get OpenJDK 11
+      run: wget https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.6%2B10/OpenJDK11U-jre_x64_linux_hotspot_11.0.6_10.tar.gz
+
     - name: Set up JDK 11
       uses: actions/setup-java@v1
       with:
         java-version: 11
+        jdkFile: ./OpenJDK11U-jre_x64_linux_hotspot_11.0.6_10.tar.gz
 
     - name: Build with Maven
       run: mvn package --file pom.xml -Pjs-test