This repository was archived by the owner on Feb 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 173
50 lines (39 loc) · 1.14 KB
/
Copy pathpush.yml
File metadata and controls
50 lines (39 loc) · 1.14 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Plugins - CI (Push)
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
name: Build
steps:
- name: Checkout Plugins
uses: actions/checkout@v3
- name: Checkout Client
uses: actions/checkout@v3
with:
repository: open-osrs/runelite
ref: master
path: open-osrs
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
cache: 'gradle'
- name: Assembling client
run: ./gradlew assemble --console=plain
working-directory: open-osrs
- name: Building client
run: ./gradlew build -x test -x checkstyleMain --console=plain
working-directory: open-osrs
- name: Upload client artifacts to local maven
run: ./gradlew publishToMavenLocal --console=plain
working-directory: open-osrs
- name: Make gradlew executable (plugins)
run: chmod +x ./gradlew
- name: Assembling plugins
run: ./gradlew assemble --console=plain
- name: Building plugins
run: ./gradlew build