-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 826 Bytes
/
build-linux.yml
File metadata and controls
33 lines (31 loc) · 826 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
name: Build MasterUI (Linux x64)
on:
push:
branches:
- master
- dev
pull_request:
jobs:
build-linux:
name: Compile for linux.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Prepare OS
run: sudo apt update
- name: Install dependencies
run: sudo apt install openjdk-8-jdk ant -y
- name: Chmod build.sh
run: chmod +x .github/build.sh
- name: Build project
run: .github/build.sh
- name: Upload Core
uses: actions/upload-artifact@v4
with:
name: MasterUI - Core
path: ./out/artifacts/core/core.jar
- name: Upload Renderer - Texel
uses: actions/upload-artifact@v4
with:
name: MasterUI - Texel
path: ./out/artifacts/texel/texel.jar