-
-
Notifications
You must be signed in to change notification settings - Fork 404
29 lines (26 loc) · 701 Bytes
/
build.yaml
File metadata and controls
29 lines (26 loc) · 701 Bytes
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
name: Build and Pre-release
on:
merge_group:
pull_request:
types:
- opened
- synchronize
- labeled
- unlabeled
workflow_dispatch:
permissions:
contents: read
statuses: write
packages: write
jobs:
build:
uses: ldtteam/operapublicacreator/.github/workflows/gradle.build.yaml@main
with:
java: 17
secrets: inherit
pre-release:
uses: ldtteam/operapublicacreator/.github/workflows/gradle.prerelease.yaml@main
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