mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-04-29 01:22:07 +08:00
41 lines
800 B
YAML
41 lines
800 B
YAML
name: Android CI
|
|
|
|
on:
|
|
push:
|
|
branches: inject
|
|
paths-ignore: '**.md'
|
|
pull_request:
|
|
branches: inject
|
|
paths-ignore: '**.md'
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: macos-15
|
|
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: 'recursive'
|
|
fetch-depth: 1
|
|
|
|
- name: Set up JDK
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 21
|
|
|
|
- name: Grant execute permission for gradlew
|
|
run: chmod +x gradlew
|
|
|
|
- name: Build with Gradle
|
|
run: ./gradlew assembleRelease
|
|
|
|
- name: Upload CI module zip as artifact zip
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: PlayIntegrityFix-CI_#${{ github.run_number }}
|
|
path: 'module/*'
|
|
compression-level: 9
|