Skip to content

Commit 7f88395

Browse files
committed
added Github build workflow
1 parent 0fa746e commit 7f88395

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: xml-objects-build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
gradle:
7+
strategy:
8+
matrix:
9+
os: [ubuntu-latest, macos-latest, windows-latest]
10+
java: [21]
11+
distribution: [temurin]
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
- name: Setup Java
17+
uses: actions/setup-java@v4
18+
with:
19+
distribution: ${{ matrix.distribution }}
20+
java-version: ${{ matrix.java }}
21+
- name: Grant execute permission to Gradle
22+
run: chmod +x ./gradlew
23+
- name: Setup Gradle
24+
uses: gradle/actions/setup-gradle@v4
25+
with:
26+
cache-disabled: true
27+
- name: Execute Gradle build
28+
run: ./gradlew build

0 commit comments

Comments
 (0)