-
Notifications
You must be signed in to change notification settings - Fork 16
38 lines (33 loc) · 964 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
38
name: Build All
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: set up JDK 1.11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'corretto'
- name: Move `private` folder
run: mv private.sample private
- name: Build with Gradle
run: |
./gradlew build --info --stacktrace
./gradlew :RMBTClient:shadowJar
./gradlew :RMBTMapServer:war
./gradlew :RMBTStatisticServer:war
./gradlew :RMBTQoSServer:jar
./gradlew :RMBTControlServer:war
- name: Archive files
uses: actions/upload-artifact@v4
with:
name: outputs
path: |
RMBTClient/build/libs/*-all.jar
RMBTQoSServer/build/libs/*.jar
RMBTControlServer/build/libs/*.war
RMBTMapServer/build/libs/*.war
RMBTStatisticServer/build/libs/*.war
retention-days: 365