Skip to content

Commit

Permalink
ci: speed up diff ci (#4841)
Browse files Browse the repository at this point in the history
* ci: use commit sha as path to save local artifacts

* ci: use commit sha as path to save local artifacts

* ci: use commit sha as path to save local artifacts

* ci: use commit sha as path to save local artifacts

* ci: use commit sha as path to save local artifacts

* ci: use commit sha as path to save local artifacts

* ci: use commit sha as path to save local artifacts

* ci: use commit sha as path to save local artifacts

* ci: use commit sha as path to save local artifacts

* ci: use commit sha as path to save local artifacts

* ci: use commit sha as path to save local artifacts

---------

Co-authored-by: LingyuCoder <--global>
  • Loading branch information
LingyuCoder authored and JSerFeng committed Dec 6, 2023
1 parent e115177 commit 638d990
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
git config --global user.email "lingyucoder@gmail.com"
git config --global user.name "LingyuCoder"
git clone --single-branch --branch main "https://x-access-token:$API_TOKEN_GITHUB@github.com/web-infra-dev/rspack-report-website.git" $clone_dir
# Copying content into dest repo
dest_dir="$clone_dir/diff/${{ github.run_id }}"
cp -R diff_output/. $dest_dir
Expand Down Expand Up @@ -111,10 +111,10 @@ jobs:
then
rm -rf $clone_dir
fi
- name: Write a new comment
uses: peter-evans/create-or-update-comment@v3
continue-on-error: true
with:
issue-number: ${{ github.event.issue.number || github.event.pull_request.number }}
body-path: 'diff_output/stats.md'
body-path: "diff_output/stats.md"

0 comments on commit 638d990

Please sign in to comment.