@@ -35,36 +35,25 @@ jobs:
3535 - name : Install dependencies
3636 run : pnpm install
3737
38- - name : Download PR info
38+ - name : Download Size Data
3939 uses : dawidd6/action-download-artifact@v6
4040 with :
41- name : pr-info
41+ name : size-data
4242 run_id : ${{ github.event.workflow_run.id }}
43- path : /tmp/pr-info
43+ path : temp/size
4444
4545 - name : Read PR Number
4646 id : pr-number
47- uses : juliangruber/read-file-action@v1
48- with :
49- path : /tmp/pr-info/number.txt
47+ run : echo "number=(cat ./temp/size/number.txt)" >> $GITHUB_OUTPUT
5048
51- - name : Read PR base branch
49+ - name : Read base branch
5250 id : pr-base
53- uses : juliangruber/read-file-action@v1
54- with :
55- path : /tmp/pr-info/base.txt
56-
57- - name : Download Size Data
58- uses : dawidd6/action-download-artifact@v6
59- with :
60- name : size-data
61- run_id : ${{ github.event.workflow_run.id }}
62- path : temp/size
51+ run : echo "base=(cat ./temp/size/base.txt)" >> $GITHUB_OUTPUT
6352
6453 - name : Download Previous Size Data
6554 uses : dawidd6/action-download-artifact@v6
6655 with :
67- branch : ${{ steps.pr-base.outputs.content }}
56+ branch : ${{ steps.pr-base.outputs.base }}
6857 workflow : size-data.yml
6958 event : push
7059 name : size-data
8473 uses : actions-cool/maintain-one-comment@v3
8574 with :
8675 token : ${{ secrets.GITHUB_TOKEN }}
87- number : ${{ steps.pr-number.outputs.content }}
76+ number : ${{ steps.pr-number.outputs.number }}
8877 body : |
8978 ${{ steps.size-report.outputs.content }}
9079 <!-- VUE_CORE_SIZE -->
0 commit comments