Skip to content

Commit

Permalink
Fix workflow by switching to zulu java
Browse files Browse the repository at this point in the history
  • Loading branch information
gudzpoz committed Apr 24, 2024
1 parent cdd9447 commit 3506eef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-natives.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
distribution: 'temurin'
distribution: 'zulu'
java-version: '8'
- run: echo "JAVA_8=$JAVA_HOME" >> $GITHUB_ENV
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
distribution: 'zulu'
java-version: '11'
- run: echo "JAVA_11=$JAVA_HOME" >> $GITHUB_ENV
- name: Cache Gradle packages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,6 @@ private void testException() {
assertEquals(message, Objects.requireNonNull(L.getJavaError()).getMessage());
L.run("java.import('java.lang.String')");
assertNull(L.getJavaError());
if (!instanceOfLuaJ(L)) {
}

assertEquals(-1, L.error(new RuntimeException(message)));
assertEquals(expected, L.toString(-1));
Expand Down

0 comments on commit 3506eef

Please sign in to comment.