From 547977417b6c62e53dd19dde4f03f67a7ad1247d Mon Sep 17 00:00:00 2001 From: Nelson Osacky Date: Tue, 21 Jan 2025 15:15:37 +0100 Subject: [PATCH] Run debug builds on master branch pushes This runs debug builds on master branch pushes in order to populate the github actions cache via the Gradle build action for faster PR builds. I'm assuming that since this is an OSS project the github action runners are free so there is no cost to this. --- .github/workflows/pr.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index bb1bfa50066..ad06343435c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -3,6 +3,8 @@ name: Pull Request on: pull_request: branches: [ master ] + push: + branches: [ master ] jobs: ktlint: @@ -49,7 +51,7 @@ jobs: - name: Validate Lint run: ./gradlew lint - pr_build: + build: runs-on: ubuntu-latest permissions: contents: write