-
Notifications
You must be signed in to change notification settings - Fork 4
31 lines (31 loc) · 991 Bytes
/
build.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: CI
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-20.04
name: Build
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup
run: sudo dpkg --add-architecture i386 && sudo apt update && sudo apt-get install gcc-multilib libxt6:i386
- name: Build
run: cd ${{ github.workspace }} && chmod +x ./build.sh && ./build.sh
- name: Upload jar
uses: actions/upload-artifact@v2
with:
name: base.zip
path: ${{ github.workspace }}/mm_v1.jar
- name: Upload obf jar
uses: actions/upload-artifact@v2
with:
name: obf.zip
path: ${{ github.workspace }}/mm_v1_obf.jar
- name: Upload obf mappings
uses: actions/upload-artifact@v2
with:
name: mappings.zip
path: ${{ github.workspace }}/mm_v1_obf_map.txt