Skip to content

Commit

Permalink
UPDATE GITHUB CI
Browse files Browse the repository at this point in the history
  • Loading branch information
4ra1n committed Dec 4, 2024
1 parent abedfe1 commit d026f19
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 2 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: class-obf build

on:
workflow_dispatch:

env:
VERSION: "1.0.0"

jobs:

build:
runs-on: ubuntu-latest
steps:
- name: checkout the source
uses: actions/checkout@v4
with:
path: class-obf

- name: set up java 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
cache: maven

- name: build core
run: |
mvn -B clean package -DskipTests --file pom.xml
mv target/class-obf-${{ env.VERSION }}-jar-with-dependencies.jar class-obf-${{ env.VERSION }}.jar
working-directory: jar-analyzer

- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: class-obf
path: |
class-obf-${{ env.VERSION }}.jar
12 changes: 12 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# CHANGELOG

## 1.1.0

更新日志:

- todo

感谢以下用户的贡献:

- 4ra1n (https://github.com/4ra1n)

可供下载的文件都由 `Github Actions` 构建,使用 `java -jar class-obf.jar` 启动

## 1.0.0

初始版本
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
![](https://img.shields.io/github/downloads/jar-analyzer/class-obf/total)
![](https://img.shields.io/github/v/release/jar-analyzer/class-obf)

![](https://github.com/jar-analyzer/class-obf/workflows/maven%20check/badge.svg)
![](https://github.com/jar-analyzer/class-obf/workflows/leak%20check/badge.svg)
![](https://github.com/jar-analyzer/class-obf/workflows/truffle%20check/badge.svg)

`class-obf` 项目全称 `Class Obfuscator` 项目,专门用来混淆单个 `Class` 文件

示例图:混淆前 -> 混淆后
Expand Down Expand Up @@ -66,7 +70,7 @@ public class Test {
}
```

你可以随意搭配配置文件,得到以下集中混淆结果
你可以随意搭配配置文件,得到以下几种混淆结果

效果一(默认配置)

Expand Down Expand Up @@ -149,6 +153,6 @@ Thanks to JetBrains for providing me with a free license, which is a strong supp
<div align="center">
<img src="https://api.star-history.com/svg?repos=jar-analyzer/class-obfr&type=Date" width="600" height="400" alt="Star History Chart" valign="middle">
<img src="https://api.star-history.com/svg?repos=jar-analyzer/class-obf&type=Date" width="600" height="400" alt="Star History Chart" valign="middle">
</div>

0 comments on commit d026f19

Please sign in to comment.