File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 15
15
- uses : actions/checkout@v1
16
16
- name : Configure git
17
17
run : |
18
- git config --global user.name 'travis-ci'
18
+ git config --global user.name 'travis-ci'
19
19
git config --global user.email 'travis@nowhere.edu'
20
+
21
+ - name : Filter changed file paths to outputs
22
+ uses : dorny/paths-filter@v2.7.0
23
+ id : changes
24
+ with :
25
+ filters : |
26
+ root_docs:
27
+ - CHANGES
28
+ - README.*
29
+ docs:
30
+ - 'docs/**/*.rst'
31
+ - 'docs/**/*.md'
32
+ - 'examples/**'
33
+ python_files:
34
+ - 'libtmux/**'
35
+
36
+ - name : Should publish
37
+ if : steps.changes.outputs.docs == 'true' || steps.changes.outputs.root_docs == 'true' || steps.changes.outputs.python_files == 'true'
38
+ run : echo "PUBLISH=$(echo true)" >> $GITHUB_ENV
39
+
20
40
- name : Set up Python ${{ matrix.python-version }}
21
41
uses : actions/setup-python@v1
22
42
with :
You can’t perform that action at this time.
0 commit comments