File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -13,25 +13,33 @@ jobs:
13
13
uses : actions/checkout@master
14
14
- name : Get the list of modified files only
15
15
uses : technote-space/get-diff-action@v1
16
+ with :
17
+ PREFIX_FILTER : |
18
+ installers
16
19
- name : Generate installers, update README.md & installers.toml
17
20
run : |
18
21
pip install toml
19
22
pip install pytablewriter
20
23
python generate.py ${{ env.GIT_DIFF }}
24
+ if : env.GIT_DIFF
21
25
- name : Minify generated installers
22
26
run : ./minify.sh ${{ env.GIT_DIFF }}
27
+ if : env.GIT_DIFF
23
28
- name : Create a pull request for README.md & installers.toml updates
24
29
uses : peter-evans/create-pull-request@v3
25
30
with :
26
31
commit-message : update README.md & installers.toml
27
32
title : Update README.md & installers.toml
28
33
body : Update README.md & installers.toml for the changes to the installer scripts
29
34
branch : update-readme-md-and-installers-toml
35
+ if : env.GIT_DIFF
30
36
- name : Archive Production Artifact
31
37
uses : actions/upload-artifact@master
32
38
with :
33
39
name : installers
34
40
path : installers
41
+ if : env.GIT_DIFF
42
+
35
43
deploy :
36
44
name : Deploy
37
45
needs : build
You can’t perform that action at this time.
0 commit comments