-
Notifications
You must be signed in to change notification settings - Fork 11
60 lines (58 loc) · 1.76 KB
/
manual-java.net-all.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
on:
workflow_dispatch:
jobs:
releases:
name: "JDK ${{ matrix.release }} on ${{ matrix.os }}"
strategy:
fail-fast: false
max-parallel: 3
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
release: [ 22, 21, 20 ]
runs-on: ${{ matrix.os }}
steps:
- name: 'Check out repository'
uses: actions/checkout@v4
- name: 'Set up JDK'
id: setup
uses: ./
with:
website: jdk.java.net
release: ${{ matrix.release }}
- name: 'Print outputs'
shell: bash
run: |
echo 'Outputs'
echo "steps.setup.outputs.archive = ${{ steps.setup.outputs.archive }}"
echo "steps.setup.outputs.version = ${{ steps.setup.outputs.version }}"
- name: 'Print Java version'
run: java -version
projects:
name: "Project ${{ matrix.project }} on ${{ matrix.os }}"
needs: [ releases ]
strategy:
fail-fast: false
max-parallel: 3
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
project: [ jextract, loom, panama, valhalla ]
exclude:
- { os: macos-latest, project: valhalla } # missing 'libjli.dylib'
runs-on: ${{ matrix.os }}
steps:
- name: 'Check out repository'
uses: actions/checkout@v4
- name: 'Set up JDK'
id: setup
uses: ./
with:
website: jdk.java.net
release: ${{ matrix.project }}
- name: 'Print outputs'
shell: bash
run: |
echo 'Outputs'
echo "steps.setup.outputs.archive = ${{ steps.setup.outputs.archive }}"
echo "steps.setup.outputs.version = ${{ steps.setup.outputs.version }}"
- name: 'Print Java version'
run: java -version