mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
.
This commit is contained in:
parent
7eb67a6791
commit
d7c0e236bb
2 changed files with 32 additions and 1 deletions
8
.github/workflows/workflow.yml
vendored
8
.github/workflows/workflow.yml
vendored
|
@ -28,10 +28,16 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Clear tool cache
|
||||
run: mv "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old"
|
||||
- name: Clear local maven repository
|
||||
run: mv "~/.m2/repository" "~/.m2/repository.bak" && mkdir ~/.m2/repository
|
||||
- name: Setup java 7
|
||||
uses: ./
|
||||
with:
|
||||
java-version: 7.x
|
||||
java-version: 7.0.242
|
||||
- name: Verify java 7
|
||||
run: __tests__/verify-java.sh
|
||||
- run: |
|
||||
which java
|
||||
java -version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue