-
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (29 loc) · 951 Bytes
/
build.yml
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
30
name: build
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-24.04
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v4
- 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 ViaProxy plugin to GitHub
uses: actions/upload-artifact@v4
with:
name: AuthHook ViaProxy
path: build/libs/
- name: Upload AuthHook agent to GitHub
uses: actions/upload-artifact@v4
with:
name: AuthHook server agent
path: Agent/build/libs/