-
-
Notifications
You must be signed in to change notification settings - Fork 348
31 lines (28 loc) · 924 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build and Pre-release
on:
pull_request:
types:
- opened
- edited
- synchronize
- labeled
- unlabeled
push:
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