File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 3030 script : |
3131 import os
3232 import json
33-
33+
3434 for folder in os.listdir('src'):
3535 config = os.path.join('src', folder, 'devcontainer-feature.json')
3636 if not os.path.isfile(config):
@@ -42,16 +42,18 @@ jobs:
4242 print(f"Skipping deprecated feature: {folder}")
4343 continue
4444
45- print(f"{folder}:")
46- print(f" - '**/{folder}/**'")
47- print(f" - '.github/workflows/test.yaml'")
45+ with open('.github/tmp-paths-filter.yml', 'a') as f:
46+ f.write(f"{folder}:")
47+ f.write(f" - '**/{folder}/**'\n")
48+ f.write(f" - '.github/workflows/test.yaml'\n")
49+
50+ - name : Print paths filter
51+ run : cat .github/tmp-paths-filter.yml
4852
49- - name : Paths Filter
50- uses : dorny/paths-filter@v3
53+ - uses : dorny/paths-filter@v3
5154 id : filter
5255 with :
53- filters : |
54- ${{ steps.generate-changes.outputs.stdout }}
56+ filters : .github/tmp-paths-filter.yml
5557
5658 test-autogenerated :
5759 needs : detect-changes
You can’t perform that action at this time.
0 commit comments