Skip to content

Commit

Permalink
Configure non-GraalVM on MacOS and Linux.
Browse files Browse the repository at this point in the history
Due to bug on GraalVM: oracle/graal#4047
  • Loading branch information
renatoathaydes committed Nov 23, 2021
1 parent 98935bd commit 48ea759
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,9 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1

- name: Setup GraalVM
uses: DeLaGuardo/[email protected]
- uses: actions/setup-java@v1
with:
graalvm: '21.2.0'
java: 'java11'
java-version: 11

- name: Get the version
id: get_version
Expand All @@ -64,12 +61,9 @@ jobs:
- uses: actions/checkout@v1
- uses: ilammy/[email protected]
- uses: microsoft/setup-msbuild@v1

- name: Setup GraalVM
uses: DeLaGuardo/[email protected]
- uses: actions/setup-java@v1
with:
graalvm: '21.2.0'
java: 'java11'
java-version: 11

- name: Get the version
id: get_version
Expand Down
2 changes: 1 addition & 1 deletion rawhttp-cli/src/main/sh/rawhttp
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

DIR=$(dirname "$0")

$DIR/java -m rawhttp.cli/rawhttp.cli.Main "$@"
$DIR/java -Dpolyglot.engine.WarnInterpreterOnly=false -m rawhttp.cli/rawhttp.cli.Main "$@"
2 changes: 1 addition & 1 deletion rawhttp-cli/src/main/sh/rawhttp.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

set DIR=%~dp0

"%DIR%java" -m rawhttp.cli/rawhttp.cli.Main %*
"%DIR%java" -Dpolyglot.engine.WarnInterpreterOnly=false -m rawhttp.cli/rawhttp.cli.Main %*

0 comments on commit 48ea759

Please sign in to comment.