File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Pre-release
2
+
3
+ on :
4
+ pull_request :
5
+ types :
6
+ - opened
7
+ - edited
8
+ - synchronize
9
+ - labeled
10
+ - unlabeled
11
+ push :
12
+ branches :
13
+ - " version/*"
14
+ - " release/*"
15
+ - " testing/*"
16
+ workflow_dispatch :
17
+
18
+ permissions :
19
+ contents : read
20
+ statuses : write
21
+ packages : write
22
+
23
+ jobs :
24
+ build :
25
+ uses : ldtteam/operapublicacreator/.github/workflows/gradle.build.yaml@main
26
+ with :
27
+ java : 17
28
+ secrets : inherit
29
+ pre-release :
30
+ uses : ldtteam/operapublicacreator/.github/workflows/gradle.prerelease.yaml@main
31
+ 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')
32
+ with :
33
+ java : 17
34
+ secrets : inherit
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - " version/*"
7
+ - " release/*"
8
+ - " testing/*"
9
+
10
+ permissions :
11
+ contents : write
12
+ statuses : write
13
+
14
+ jobs :
15
+ release :
16
+ uses : ldtteam/operapublicacreator/.github/workflows/gradle.publish.yaml@main
17
+ with :
18
+ java : 17
19
+ curse_release_type : ${{ contains(github.ref, 'release') && 'release' || 'beta' }}
20
+ secrets : inherit
You can’t perform that action at this time.
0 commit comments