Skip to content

Commit 6e987b6

Browse files
committedOct 29, 2024
Setup GitHub action
1 parent b3b906f commit 6e987b6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
 

‎.github/workflows/build.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ "**" ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
java: [ 21 ]
13+
fail-fast: true
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: gradle/wrapper-validation-action@v2
17+
- name: JDK ${{ matrix.java }}
18+
uses: actions/setup-java@v4
19+
with:
20+
java-version: ${{ matrix.java }}
21+
distribution: 'temurin'
22+
- name: Setup Gradle
23+
uses: gradle/actions/setup-gradle@v3
24+
- name: Make gradlew executable
25+
run: chmod +x ./gradlew
26+
- name: Build
27+
run: ./gradlew build

0 commit comments

Comments
 (0)