File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 61
61
DATABASE=$2
62
62
cd codeql-$QL_VARIANT
63
63
SHORTNAME=`basename $DATABASE`
64
- python java/ql/src/utils/model-generator/GenerateFlowModel.py --with-summaries --with-sinks $DATABASE $MODELS/${SHORTNAME}.qll
65
- mv $MODELS/${SHORTNAME}.qll $MODELS/${SHORTNAME}Generated_${QL_VARIANT}.qll
64
+ python java/ql/src/utils/model-generator/GenerateFlowModel.py --with-summaries --with-sinks $DATABASE $MODELS/${SHORTNAME}.model.yml
65
+ mv $MODELS/${SHORTNAME}.model.yml $MODELS/${SHORTNAME}Generated_${QL_VARIANT}.model.yml
66
66
cd ..
67
67
}
68
68
@@ -85,16 +85,16 @@ jobs:
85
85
set -x
86
86
MODELS=`pwd`/tmp-models
87
87
ls -1 tmp-models/
88
- for m in $MODELS/*_main.qll ; do
88
+ for m in $MODELS/*_main.model.yml ; do
89
89
t="${m/main/"pr"}"
90
90
basename=`basename $m`
91
- name="diff_${basename/_main.qll /""}"
91
+ name="diff_${basename/_main.model.yml /""}"
92
92
(diff -w -u $m $t | diff2html -i stdin -F $MODELS/$name.html) || true
93
93
done
94
94
- uses : actions/upload-artifact@v3
95
95
with :
96
96
name : models
97
- path : tmp-models/*.qll
97
+ path : tmp-models/*.model.yml
98
98
retention-days : 20
99
99
- uses : actions/upload-artifact@v3
100
100
with :
You can’t perform that action at this time.
0 commit comments