mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-11-08 21:27:03 +01:00
4d0db8c4fb
Because the release workflow already runs on dev and main, it is not necessary to also trigger it for PRs.
27 lines
486 B
YAML
27 lines
486 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: Cache Gradle
|
|
uses: burrunan/gradle-cache-action@v1
|
|
|
|
- name: Setup Java
|
|
run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV
|
|
|
|
- name: Build
|
|
run: ./gradlew build --no-daemon
|