-
-
Notifications
You must be signed in to change notification settings - Fork 24
28 lines (26 loc) · 693 Bytes
/
pr.yml
File metadata and controls
28 lines (26 loc) · 693 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
name: PR Check
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up JDK
uses: actions/setup-java@v5
with:
java-version: 17
distribution: temurin
check-latest: true
cache: 'maven'
- name: Copy servers
run: pwsh ./copy-server.ps1
- name: Build with Maven
run: mvn -B clean package
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload target
if: success()
uses: actions/upload-artifact@v6
with:
name: MinecraftDecompiler
path: modules/cli/target/MinecraftDecompiler.jar