feat: produce binary per master commit

This commit is contained in:
Connor Tumbleson 2021-06-12 17:24:17 -04:00
parent 9f8ddb1bb0
commit f5885a4763
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75
1 changed files with 35 additions and 0 deletions

35
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,35 @@
name: Build
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
name: Build apktool.jar
steps:
- uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ matrix.java }}-${{ hashFiles('**/*.gradle*') }}
restore-keys: ${{ runner.os }}-${{ matrix.java }}-gradle-
- uses: actions/checkout@v2
- name: Set up JDK 10
uses: actions/setup-java@v1
with:
java-version: 10
- name: Build
run: ./gradlew build shadowJar proguard
- name: Upload
uses: actions/upload-artifact@v2
with:
name: apktool.jar.zip
path: brut.apktool/apktool-cli/build/libs/apktool-*-small.jar