Skip to content

Fix build pipeline [internal] #44

Fix build pipeline [internal]

Fix build pipeline [internal] #44

Workflow file for this run

name: Build and Pre-release
on:
pull_request:
types:
- opened
- edited
- synchronize
- labeled
- unlabeled
push:
branches:
- "version/*"
- "release/*"
- "testing/*"
workflow_dispatch:
permissions:
contents: read
statuses: write
packages: write
jobs:
build:
uses: Thodor12/operapublicacreator/.github/workflows/gradle.build.yaml@18f3f7d0191d1a567efcd04dbab91253407db79a
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
with:
java: 17
secrets: inherit
pre-release:
uses: Thodor12/operapublicacreator/.github/workflows/gradle.prerelease.yaml@18f3f7d0191d1a567efcd04dbab91253407db79a
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && contains( github.event.pull_request.labels.*.name, 'Pre-release')
with:
java: 17
secrets: inherit