mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2025-01-29 16:46:45 +01:00
38 lines
725 B
YAML
38 lines
725 B
YAML
name: CI build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
name: Build project
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Clone repo
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Validate Gradle Wrapper
|
|
uses: gradle/wrapper-validation-action@v1
|
|
|
|
- name: Set up JDK
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: 17
|
|
distribution: adopt
|
|
|
|
- name: Generate android.jar
|
|
run: |
|
|
./AndroidCompat/getAndroid.sh
|
|
|
|
- name: Build project
|
|
uses: gradle/gradle-command-action@v2
|
|
with:
|
|
arguments: :server:shadowJar
|