mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
fix matrix
This commit is contained in:
parent
db7c9fb180
commit
712f5a3f16
1 changed files with 27 additions and 2 deletions
29
.github/workflows/workflow.yml
vendored
29
.github/workflows/workflow.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.operating-system }}
|
runs-on: ${{ matrix.operating-system }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
|
operating-system: [ubuntu-latest, windows-latest]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -46,7 +46,32 @@ jobs:
|
||||||
if: runner.os == 'windows'
|
if: runner.os == 'windows'
|
||||||
run: __tests__/verify-java.ps1 13.0.2 "${{ steps.setup-java.outputs.path }}" "${{ steps.setup-java.outputs.version }}"
|
run: __tests__/verify-java.ps1 13.0.2 "${{ steps.setup-java.outputs.path }}" "${{ steps.setup-java.outputs.version }}"
|
||||||
|
|
||||||
test-proxy:
|
test-proxy-adopt:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ubuntu:latest
|
||||||
|
options: --dns 127.0.0.1
|
||||||
|
services:
|
||||||
|
squid-proxy:
|
||||||
|
image: datadog/squid:latest
|
||||||
|
ports:
|
||||||
|
- 3128:3128
|
||||||
|
env:
|
||||||
|
https_proxy: http://squid-proxy:3128
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Clear tool cache
|
||||||
|
run: rm -rf $RUNNER_TOOL_CACHE/*
|
||||||
|
- name: Setup Java 13
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
java-version: 13
|
||||||
|
vendor: 'adoptopenjdk'
|
||||||
|
- name: Verify Java 13
|
||||||
|
run: __tests__/verify-java.sh 13.0.2
|
||||||
|
|
||||||
|
|
||||||
|
test-proxy-zulu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue