Skip to content

Commit a40c947

Browse files
committed
use filters.yml file
1 parent 3b74e87 commit a40c947

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ jobs:
1919
- uses: dorny/[email protected]
2020
id: filter
2121
with:
22-
filters: |
23-
main_image_files:
24-
- 'Dockerfile'
25-
- 'root/**'
26-
minimal_image_files:
27-
- 'minimal/**'
22+
filters: '.github/filters.yml'
2823

2924
build:
3025
runs-on: ubuntu-latest

.github/workflows/octoprint-release.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@ jobs:
2222
if: ${{ github.event_name == 'push'}}
2323
id: filter
2424
with:
25-
filters: |
26-
main_image_files:
27-
- 'Dockerfile'
28-
- 'root/**'
29-
minimal_image_files:
30-
- 'minimal/**'
25+
filters: '.github/filters.yml'
3126

3227
release:
3328
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)