PlayIntegrityFix/.github/workflows/android.yml

37 lines
834 B
YAML
Raw Normal View History

2023-12-01 08:44:57 +08:00
name: Android CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2023-12-01 08:46:38 +08:00
- name: set up JDK 17
2023-12-01 08:44:57 +08:00
uses: actions/setup-java@v3
with:
2023-12-01 08:46:38 +08:00
java-version: '17'
2023-12-01 08:44:57 +08:00
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew assembleRelease
2023-12-01 09:02:30 +08:00
- name: Create PlayIntegrityFix zip
uses: actions/upload-artifact@v3
with:
name: PlayIntegrityFix
path: out/PlayIntegrityFix.zip
- name: Create PlayIntegrityFix-resetprop zip
uses: actions/upload-artifact@v3
with:
name: PlayIntegrityFix-resetprop
path: out/PlayIntegrityFix-resetprop.zip