Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Commit 0eb2682

Browse files
committed
Update verification in nightly test workflow
1 parent 5ad3eeb commit 0eb2682

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test-nightly.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@ jobs:
3232
if: runner.os == 'windows'
3333
run: move "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old"
3434
- name: Setup Java ${{ matrix.java-version}}
35+
id: setup-java
3536
uses: ./
3637
with:
3738
java-version: ${{ matrix.java-version }}
3839
architecture: ${{ matrix.architecture }}
3940
- name: Verify Java ${{ matrix.java-version}}
4041
if: runner.os != 'windows'
41-
run: __tests__/verify-java.sh ${{ matrix.java-version }}
42+
run: __tests__/verify-java.sh "${{ matrix.java-version }}" "${{ steps.setup-java.outputs.path }}" "${{ steps.setup-java.outputs.version }}"
4243
- name: Verify Java ${{ matrix.java-version}} (Windows)
4344
if: runner.os == 'windows'
44-
run: __tests__/verify-java.ps1 ${{ matrix.java-version }}
45+
run: __tests__/verify-java.ps1 "${{ matrix.java-version }}" "${{ steps.setup-java.outputs.path }}" "${{ steps.setup-java.outputs.version }}"

0 commit comments

Comments
 (0)