2024-07-21 20:06:09 +03:00
|
|
|
name: Android CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "main" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ "main" ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Check out
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
submodules: "recursive"
|
2024-10-03 17:53:11 +03:00
|
|
|
fetch-depth: 1
|
2024-07-21 20:06:09 +03:00
|
|
|
|
2024-10-03 17:53:11 +03:00
|
|
|
- name: set up JDK 21
|
2024-07-21 20:06:09 +03:00
|
|
|
uses: actions/setup-java@v4
|
|
|
|
with:
|
|
|
|
distribution: 'temurin'
|
2024-10-03 17:53:11 +03:00
|
|
|
java-version: '21'
|
2024-07-21 20:06:09 +03:00
|
|
|
|
|
|
|
- name: Grant execute permission for gradlew
|
|
|
|
run: chmod +x gradlew
|
|
|
|
|
|
|
|
- name: Build with Gradle
|
|
|
|
run: ./gradlew assembleRelease
|
|
|
|
|
|
|
|
- name: Upload PlayIntegrityFix.zip
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
name: PlayIntegrityFix
|
|
|
|
path: module/*
|