mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-30 13:42:53 +01:00
eee1692277
BREAKING CHANGE: Various APIs have been changed or removed.
32 lines
601 B
YAML
32 lines
601 B
YAML
name: Build pull request
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches:
|
|
- dev
|
|
|
|
jobs:
|
|
release:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: "temurin"
|
|
java-version: "17"
|
|
|
|
- name: Cache Gradle
|
|
uses: burrunan/gradle-cache-action@v1
|
|
|
|
- name: Build
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: ./gradlew build --no-daemon
|