Skip to content

Commit 1759dae

Browse files
committed
chore(action): add ci
Signed-off-by: Kevin Cui <[email protected]>
1 parent 9831989 commit 1759dae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

+5
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
env:
3333
RAW_BODY: ${{ github.event.pull_request.body }}
3434
run: |
35+
echo "$RAW_BODY"
36+
echo "echo -n $RAW_BODY | grep -o '\- \[x\] .*$'"
37+
echo "echo -n $RAW_BODY | grep -o '\- \[x\] .*$' | sed 's/- \[x\] //'"
38+
echo "echo -n $RAW_BODY | grep -o '\- \[x\] .*$' | sed 's/- \[x\] //' | awk '{ printf "\""$0"\"," }'"
39+
echo "echo -n $RAW_BODY | grep -o '\- \[x\] .*$' | sed 's/- \[x\] //' | awk '{ printf "\""$0"\"," }' | sed 's/,$/'"
3540
RESULT=`echo -n "["; echo -n $RAW_BODY | grep -o '\- \[x\] .*$' | sed 's/- \[x\] //' | awk '{ printf "\""$0"\"," }' | sed 's/,$/]/'`
3641
echo "matrix=$RESULT" >> $GITHUB_OUTPUT
3742
if [ $(echo $RESULT | wc -L) -gt 10 ]; then

0 commit comments

Comments
 (0)