From 79369a570b82d8827b2cf05ef3932939989f564a Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Fri, 23 Jan 2026 14:42:43 +0100 Subject: [PATCH] Build on commit also for snapshot branch --- .github/workflows/build-on-commit.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-on-commit.yaml b/.github/workflows/build-on-commit.yaml index a07f70c..0d09768 100644 --- a/.github/workflows/build-on-commit.yaml +++ b/.github/workflows/build-on-commit.yaml @@ -3,6 +3,11 @@ on: push: branches: - snapshot + +defaults: + run: + working-directory: ./template + jobs: build: runs-on: ubuntu-latest @@ -25,6 +30,11 @@ jobs: - name: Checkout current repository uses: actions/checkout@v6 + with: + fetch-depth: 0 + repository: openrndr/openrndr-template + path: ./template + ref: snapshot - uses: actions/setup-java@v5 with: @@ -48,5 +58,6 @@ jobs: run: ./gradlew publishToMavenLocal snapshot - name: Build template - working-directory: ./ + working-directory: ./template run: ./gradlew build +