Skip to content

Commit af51d2f

Browse files
committed
Test architecture option
1 parent 4cda086 commit af51d2f

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test architecture option
2+
3+
on:
4+
push:
5+
branches:
6+
- sapMachine
7+
8+
workflow_dispatch:
9+
10+
jobs:
11+
test:
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, windows-latest, macos-latest]
16+
java-version: [11, 17, 21 ]
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v4
20+
21+
- name: Set up Java
22+
uses: Shegox/setup-java@main
23+
with:
24+
distribution: 'sapmachine'
25+
java-version: ${{ matrix.java-version }}
26+
architecture: x64
27+
28+
- name: Verify Java version
29+
run: java -version
30+
31+

0 commit comments

Comments
 (0)