Skip to content

Commit

Permalink
add windows case
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams committed Jul 28, 2020
1 parent b97e00c commit 8154901
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
java-version: 13
vendor: 'adoptopenjdk'
- name: Verify Java 13
run: __tests__/verify-java.sh 13.0.2
run: __tests__/verify-java.sh 13.0.2 "${{ steps.setup-java.outputs.path }}" "${{ steps.setup-java.outputs.version }}"


test-proxy-zulu:
Expand Down
3 changes: 3 additions & 0 deletions src/distro/adoptopenjdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export async function getJavaAdoptOpenJDK(
case 'darwin':
OS = 'mac';
break;
case 'win32':
OS = 'windows';
break;
}

const http = new httpm.HttpClient('setup-java', undefined, {
Expand Down

0 comments on commit 8154901

Please sign in to comment.