From 94c7a75bd69beb057515cddb021b4cfff7316238 Mon Sep 17 00:00:00 2001 From: Marc Hermans Date: Sat, 17 Aug 2024 22:11:02 +0200 Subject: [PATCH] Setup building for PRs and generic branches --- .github/workflows/build.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..e44ea7e --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,30 @@ +name: Build and Test PRs or General Branches + +on: + pull_request: + types: + - synchronize + - opened + - ready_for_review + - reopened + push: + branches: + - 'feature/**' + - 'bugfix/**' + - 'hotfix/**' + - 'fix/**' + - 'features/**' + workflow_dispatch: + +permissions: + contents: write + statuses: write + +jobs: + release: + uses: ldtteam/operapublicacreator/.github/workflows/gradle.build.yaml@ng7 + with: + java: 21 + secrets: + CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }} + GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }} \ No newline at end of file