mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-04-29 03:00:14 -04:00
write sz output to file (#15534)
This commit is contained in:
6
.github/workflows/szdiff.yml
vendored
6
.github/workflows/szdiff.yml
vendored
@@ -66,9 +66,7 @@ jobs:
|
||||
PR="$GITHUB_WORKSPACE/pr"
|
||||
pip install tabulate $BASE
|
||||
cp "$BASE/sz.py" .
|
||||
echo "loc_content<<EOF" >> "$GITHUB_ENV"
|
||||
python sz.py "$BASE" "$PR" >> "$GITHUB_ENV"
|
||||
echo "EOF" >> "$GITHUB_ENV"
|
||||
python sz.py "$BASE" "$PR" > loc_content.txt
|
||||
- name: Comment Code Line Diff
|
||||
continue-on-error: false
|
||||
uses: marocchino/sticky-pull-request-comment@v3
|
||||
@@ -77,7 +75,7 @@ jobs:
|
||||
ignore_empty: true
|
||||
skip_unchanged: true
|
||||
recreate: true
|
||||
message: ${{ env.loc_content }}
|
||||
path: loc_content.txt
|
||||
|
||||
rebase:
|
||||
name: Core Library Line Difference
|
||||
|
||||
Reference in New Issue
Block a user