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 1515 - uses : actions/checkout@v1
1616 - name : Configure git
1717 run : |
18- git config --global user.name 'travis-ci'
18+ git config --global user.name 'travis-ci'
1919 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+
2040 - name : Set up Python ${{ matrix.python-version }}
2141 uses : actions/setup-python@v1
2242 with :
You can’t perform that action at this time.
0 commit comments