Skip to content

Commit c101acb

Browse files
authored
Create gradle.yml
Signed-off-by: Lukas <[email protected]>
1 parent 6d5c064 commit c101acb

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/gradle.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build OpenAPI
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build:
6+
# Only run on PRs if the source branch is on someone else's repo
7+
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
java: [17]
12+
fail-fast: true
13+
steps:
14+
- uses: actions/[email protected]
15+
- name: JDK ${{ matrix.java }}
16+
uses: actions/[email protected]
17+
with:
18+
java-version: ${{ matrix.java }}
19+
cache: 'gradle'
20+
distribution: 'temurin'

0 commit comments

Comments
 (0)