Skip to content

Commit 968a41f

Browse files
committed
chore(action): add ci
Signed-off-by: Kevin Cui <[email protected]>
1 parent 2230d0e commit 968a41f

File tree

2 files changed

+2
-36
lines changed

2 files changed

+2
-36
lines changed

Diff for: .github/hack/gen_matrix.mjs

-16
This file was deleted.

Diff for: .github/workflows/test.yml

+2-20
Original file line numberDiff line numberDiff line change
@@ -46,24 +46,6 @@ jobs:
4646
core.setOutput("matrix", result);
4747
core.setOutput("need_to_run", result.length > 0);
4848
49-
# run: |
50-
# node
51-
52-
# # cat > raw_body <<EOF
53-
# # ${{github.event.pull_request.body}}
54-
# # EOF
55-
56-
# # RESULT=`echo -n "["; cat ./raw_body | grep -o '\- \[x\] .*$' | sed 's/- \[x\] //' | awk '{printf "\"%s\",", $0}' | sed 's/,$/]/'`
57-
58-
# # echo $RESULT
59-
60-
# echo "matrix=$RESULT" >> $GITHUB_OUTPUT
61-
# if [ $(echo $RESULT | wc -L) -gt 10 ]; then
62-
# echo "need_to_run=true" >> $GITHUB_OUTPUT
63-
# else
64-
# echo "need_to_run=false" >> $GITHUB_OUTPUT
65-
# fi
66-
6749
test:
6850
runs-on: ubuntu-latest
6951
needs: pre-test
@@ -114,7 +96,7 @@ jobs:
11496
11597
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
11698
with:
117-
name: ${{ github.run_id }}-${{ github.run_number }}-outputs-size
99+
name: outputs-size
118100
path: outputs-size/*.txt
119101
retention-days: 1
120102

@@ -129,7 +111,7 @@ jobs:
129111
- name: Load outputs-size
130112
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2
131113
with:
132-
name: ${{ github.run_id }}-${{ github.run_number }}-outputs-size
114+
name: outputs-size
133115
path: outputs-size
134116

135117
- name: Format outputs-size

0 commit comments

Comments
 (0)