We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c33b492 commit 115d043Copy full SHA for 115d043
.github/workflows/build.yml
@@ -4,10 +4,10 @@
4
# against bad commits.
5
6
name: build
7
+
8
on:
9
pull_request:
- push:
10
- paths:
+ paths: &build_paths
11
- '.github/workflows/build.yml'
12
- 'build.gradle'
13
- 'gradle.properties'
@@ -17,6 +17,10 @@ on:
17
- 'settings.gradle'
18
- 'src/**'
19
20
+ push:
21
+ branches: [main]
22
+ paths: *build_paths
23
24
concurrency:
25
group: "java-build-${{ github.ref }}"
26
cancel-in-progress: true
0 commit comments