-
-
Notifications
You must be signed in to change notification settings - Fork 0
23 lines (23 loc) · 723 Bytes
/
build-pr.yml
File metadata and controls
23 lines (23 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Build PR
on: [pull_request]
jobs:
build_pr:
if: github.repository_owner == 'OneLiteFeatherNET'
name: Build Pull Request Branch
description: This job builds the pull request branch on different operating systems.
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout Repository
uses: actions/checkout@v6
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v3
- name: Setup Java
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 21
- name: Build on ${{ matrix.os }}
run: ./gradlew clean build