Skip to content

upgrade github ci build #178

upgrade github ci build

upgrade github ci build #178

Workflow file for this run

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