generated from DragonsPlusMinecraft/CreateAddonTemplate
-
Notifications
You must be signed in to change notification settings - Fork 41
35 lines (28 loc) · 844 Bytes
/
PR.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
31
32
33
34
35
name: Pull Request Actions
on:
pull_request:
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: temurin
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Validate Gradle Wrapper Integrity
uses: gradle/wrapper-validation-action@v1
- name: Make Gradle wrapper executable
run: chmod +x ./gradlew
- name: Build
run: ./gradlew build
- name: Publish Artifacts on GitHub Actions
uses: actions/upload-artifact@v3
with:
if-no-files-found: error
path: build/libs/
name: CEI .jar files from PR