-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (33 loc) · 899 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
32
33
34
35
36
name: Build
on: [push, pull_request, workflow_dispatch]
jobs:
build:
name: Build Magisk Module
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
cache: gradle
- name: Setup git
run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
- name: Compile
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./compile.sh
- name: Upload Result
uses: actions/upload-artifact@v4
with:
name: ReVancedRepackaged.zip
path: |
ReVancedRepackaged-*.zip
if-no-files-found: error