File tree 4 files changed +9
-296
lines changed
lightning_examples/warp-drive
4 files changed +9
-296
lines changed Original file line number Diff line number Diff line change 43
43
bash .actions/git-diff-sync.sh $current_branch $(PUB_BRANCH)
44
44
displayName: "Compare changes & sync"
45
45
46
- - bash : |
47
- notebooks=$(python .actions/assistant.py generate-matrix changed-folders.txt)
48
- echo "##vso[task.setVariable variable=dirs;isOutput=true]$notebooks"
49
- name: mtrx
50
- displayName: "Changed matrix"
51
- - bash : echo '$(mtrx.dirs)' | python -m json.tool
52
- displayName : " Show matrix"
53
-
54
46
- bash : |
55
47
# second half with || [...] is needed for reading the last line
56
48
while read -r line || [ -n "$line" ]; do
64
56
displayName: "Prune notebooks"
65
57
timeoutInMinutes: "10"
66
58
59
+ - bash : |
60
+ notebooks=$(python .actions/assistant.py generate-matrix changed-folders.txt)
61
+ echo "##vso[task.setVariable variable=dirs;isOutput=true]$notebooks"
62
+ name: mtrx
63
+ displayName: "Changed matrix"
64
+ - bash : echo '$(mtrx.dirs)' | python -m json.tool
65
+ continueOnError : " true" # not crash if the matrix is empty
66
+ displayName : " Show matrix"
67
+
67
68
- bash : |
68
69
set -ex
69
70
git status
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments