forked from oraxen/oraxen
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 897 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
31
32
33
34
35
36
37
name: Build and Upload
on:
push:
branches: [ "dev/update" ]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
check-latest: true
cache: 'gradle'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Run chmod to make gradlew executable
run: chmod +x ./gradlew
- name: Run Gradle Build for Core
run: ./gradlew core:build
- name: Run Gradle Build for Plugin
run: ./gradlew build
- name: Upload Plugin
uses: actions/[email protected]
with:
name: ArmaOraxen
path: |
build/libs/*.jar
core/build/libs/*.jar