Skip to content

Commit 12c8b10

Browse files
authored
Merge pull request #5 from cketti/build_less
Avoid running the build workflow when we don't need to
2 parents 7114403 + 292e8dd commit 12c8b10

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/build.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
name: build
22

33
on:
4-
pull_request: {}
4+
pull_request:
5+
paths-ignore:
6+
- '.idea/**'
7+
- '.gitignore'
8+
- '*.md'
9+
510
push:
611
branches:
7-
- '**'
12+
- 'main'
813
tags-ignore:
914
- '**'
15+
paths-ignore:
16+
- '.idea/**'
17+
- '.gitignore'
18+
- '*.md'
1019

1120
env:
1221
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"

0 commit comments

Comments
 (0)