-
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 761 Bytes
/
main-build.yml
File metadata and controls
29 lines (27 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Main Branch Build
on:
push:
branches:
- main
- 'releases/*'
jobs:
build and test:
if: github.repository_owner == 'OneLiteFeatherNET'
name: Build and Test
description: This job builds and tests the project 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 test