You've already forked PlayIntegrityFork
mirror of
https://github.com/osm0sis/PlayIntegrityFork.git
synced 2025-09-06 06:37:06 +00:00
42 lines
837 B
YAML
42 lines
837 B
YAML
name: Android CI
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: main
|
|
paths-ignore: '**.md'
|
|
pull_request:
|
|
branches: main
|
|
paths-ignore: '**.md'
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: macos-15
|
|
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: 'recursive'
|
|
fetch-depth: 0
|
|
|
|
- name: Set up JDK
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 17
|
|
|
|
- name: Grant execute permission for gradlew
|
|
run: chmod +x gradlew
|
|
|
|
- name: Build with Gradle
|
|
run: ./gradlew --warning-mode all assembleRelease
|
|
|
|
- name: Upload CI module zip as artifact zip
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: PlayIntegrityFork-CI_#${{ github.run_number }}
|
|
path: 'module/*'
|
|
compression-level: 9
|