-
-
Notifications
You must be signed in to change notification settings - Fork 6
27 lines (24 loc) · 710 Bytes
/
self-hosted.yml
File metadata and controls
27 lines (24 loc) · 710 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
name: Self-Hosted runner CI with Gradle
on: [ push ]
jobs:
selfhost-build:
if: github.repository_owner == 'FlashyReese'
runs-on: self-hosted
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v2
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
check-latest: true
- name: Build with Gradle
run: ./gradlew build
- name: Upload Auild Artifacts
uses: actions/upload-artifact@v4
with:
name: 'Sodium Extra Artifacts'
path: build/libs