Skip to content

Commit

Permalink
upgrade github ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
cproof committed Sep 23, 2024
1 parent 5341a11 commit b96145d
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,31 @@ jobs:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: set up JDK 1.11
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.11
java-version: '11'
distribution: 'corretto'
- name: Move `private` folder
run: mv private.sample private
- name: Build with Gradle
run: ./gradlew build --info --stacktrace
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@v2
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

0 comments on commit b96145d

Please sign in to comment.