mirror of
https://github.com/actions/setup-java.git
synced 2025-05-21 18:01:46 +00:00
switched back to 13.0.2
This commit is contained in:
parent
abef42bfe3
commit
dbd07b33cb
26
.github/workflows/workflow.yml
vendored
26
.github/workflows/workflow.yml
vendored
@ -34,17 +34,17 @@ jobs:
|
|||||||
- name: Clear tool cache (Windows)
|
- name: Clear tool cache (Windows)
|
||||||
if: runner.os == 'windows'
|
if: runner.os == 'windows'
|
||||||
run: move "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old"
|
run: move "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old"
|
||||||
- name: Setup Java 11
|
- name: Setup Java 13
|
||||||
id: setup-java
|
id: setup-java
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
java-version: 11.0.10
|
java-version: 13.0.2
|
||||||
- name: Verify Java 11
|
- name: Verify Java 13
|
||||||
if: runner.os != 'windows'
|
if: runner.os != 'windows'
|
||||||
run: __tests__/verify-java.sh 11.0.10 "${{ steps.setup-java.outputs.path }}" "${{ steps.setup-java.outputs.version }}"
|
run: __tests__/verify-java.sh 13.0.2 "${{ steps.setup-java.outputs.path }}" "${{ steps.setup-java.outputs.version }}"
|
||||||
- name: Verify Java 13 (Windows)
|
- name: Verify Java 13 (Windows)
|
||||||
if: runner.os == 'windows'
|
if: runner.os == 'windows'
|
||||||
run: __tests__/verify-java.ps1 11.0.10 "${{ 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:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -62,13 +62,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Clear tool cache
|
- name: Clear tool cache
|
||||||
run: rm -rf $RUNNER_TOOL_CACHE/*
|
run: rm -rf $RUNNER_TOOL_CACHE/*
|
||||||
- name: Setup Java 11
|
- name: Setup Java 13
|
||||||
id: setup-java
|
id: setup-java
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
java-version: 11.0.10
|
java-version: 13.0.2
|
||||||
- name: Verify Java 11
|
- name: Verify Java 13
|
||||||
run: __tests__/verify-java.sh 11.0.10 "${{ steps.setup-java.outputs.path }}" "${{ steps.setup-java.outputs.version }}"
|
run: __tests__/verify-java.sh 13.0.2 "${{ steps.setup-java.outputs.path }}" "${{ steps.setup-java.outputs.version }}"
|
||||||
|
|
||||||
test-bypass-proxy:
|
test-bypass-proxy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -79,10 +79,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Clear tool cache
|
- name: Clear tool cache
|
||||||
run: rm -rf $RUNNER_TOOL_CACHE/*
|
run: rm -rf $RUNNER_TOOL_CACHE/*
|
||||||
- name: Setup Java 11
|
- name: Setup Java 13
|
||||||
id: setup-java
|
id: setup-java
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
java-version: 11.0.10
|
java-version: 13.0.2
|
||||||
- name: Verify Java 11
|
- name: Verify Java 13
|
||||||
run: __tests__/verify-java.sh 11.0.10 "${{ steps.setup-java.outputs.path }}" "${{ steps.setup-java.outputs.version }}"
|
run: __tests__/verify-java.sh 13.0.2 "${{ steps.setup-java.outputs.path }}" "${{ steps.setup-java.outputs.version }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user