diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5f3218d26cb..ff10f2d5417 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,30 +2,18 @@ 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 - packages: write + contents: read jobs: - release: - uses: ldtteam/operapublicacreator/.github/workflows/gradle.publish.yaml@main + build: + uses: Thodor12/operapublicacreator/.github/workflows/gradle.build.yaml@00ee6267732e5a1be194e77cbac2bd40f020c3b0 with: java: 17 + gradle_tasks: assemble secrets: CROWDIN_API_KEY: ${{ secrets.CROWDIN_API_KEY }} GRADLE_ENCRYPTION_KEY: ${{ secrets.GRADLE_ENCRYPTION_KEY }} \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f941b0b462..2336fe74c2c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,11 +2,10 @@ name: Release on: push: - branches: [ - "version/*", - "release/*", - "testing/*", - ] + branches: + - "version/*" + - "release/*" + - "testing/*" permissions: contents: write