forked from LostCityRS/Client-Java
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (43 loc) · 1.03 KB
/
build.yaml
File metadata and controls
54 lines (43 loc) · 1.03 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 8
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '8.14'
- name: Build
run: gradle build
- name: Obfuscate
run: gradle proguard
- name: Upload
uses: actions/upload-artifact@v4
with:
name: client
path: |
build/libs/*
deob-map:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Generate deob mapping
run: |
cp ref/remap.toml deob.toml
wget https://github.com/LostCityRS/Deobfuscator/releases/latest/download/Deobfuscator.jar
java -jar Deobfuscator.jar
- name: Upload mapping
uses: actions/upload-artifact@v4
with:
name: deob-map
path: |
remap.txt