Skip to content

Commit 12fe0e5

Browse files
committed
Move workflow scripts from example/.github/workflows to .github/workflows
WE2-933 Signed-off-by: Sven Mitt <[email protected]>
1 parent b8ce11b commit 12fe0e5

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

example/.github/workflows/dotnet-build.yml renamed to .github/workflows/dotnet-build-example.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
name: Dotnet build
22

3-
on: [ push, pull_request ]
3+
on:
4+
push:
5+
paths:
6+
- 'example/**'
7+
- '.github/workflows/*example*'
8+
pull_request:
9+
paths:
10+
- 'example/**'
11+
- '.github/workflows/*example*'
12+
13+
defaults:
14+
run:
15+
working-directory: ./example
416

517
jobs:
618
build:

.github/workflows/dotnet-build-linux.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Dotnet Linux build
22

3-
on: [ push, pull_request ]
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'example/**'
7+
- '.github/workflows/*example*'
8+
pull_request:
9+
paths-ignore:
10+
- 'example/**'
11+
- '.github/workflows/*example*'
412

513
jobs:
614
build:

.github/workflows/dotnet-build-windows.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Dotnet Windows build
22

3-
on: [ push, pull_request ]
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'example/**'
7+
- '.github/workflows/*example*'
8+
pull_request:
9+
paths-ignore:
10+
- 'example/**'
11+
- '.github/workflows/*example*'
412

513
jobs:
614
build:

0 commit comments

Comments
 (0)