forked from Open-RSC/Core-Framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
33 lines (29 loc) · 739 Bytes
/
.gitlab-ci.yml
File metadata and controls
33 lines (29 loc) · 739 Bytes
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
image: eclipse-temurin:8-jdk
before_script:
- apt-get --quiet update --yes
- apt-get --quiet install --yes ant
stages:
- build
- upload
build:
stage: build
script:
- cd server && ant compile_core && ant compile_plugins && cd ../
- cd Client_Base && ant compile && cd ../
- cd PC_Launcher && ant compile && cd ../
artifacts:
paths:
- PC_Launcher/OpenRSC.jar
when: on_success
expose_as: 'OpenRSC jar' # (Optional) provides a direct download link in the job UI
launcherUpload:
stage: upload
script:
- echo "Uploading OpenRSC.jar"
needs:
- build
artifacts:
paths:
- PC_Launcher/OpenRSC.jar
- PC_Launcher/vet.rsc.OpenRSC.Launcher.appdata.xml
when: on_success