-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (27 loc) · 951 Bytes
/
maven.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
name: BUILD FINAL-APPROACH
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 8
- name: Install Libs and Build with Maven
run: |
mvn -B validate;
mvn -B package --file pom.xml -Dmaven.test.skip=true
- name: Upload Artifact - Make Directory
run: |
mkdir -p finalApproach;
cp server/target/server-1.1.4.jar finalApproach/server.jar;
cp updater/target/updater-1.1.4-jar-with-dependencies.jar finalApproach/launcher.jar;
cp updater/target/updater-1.1.4-jar-with-dependencies.jar finalApproach/newlauncher.jar;
cp scripts/start.bat finalApproach/;
- uses: actions/upload-artifact@v3
with:
name: final-approach-1.1.4
path: finalApproach