|
|
@@ -35,18 +35,24 @@ jobs:
|
|
|
- name: Install dependencies
|
|
|
run: pnpm install
|
|
|
|
|
|
- - name: Download PR number
|
|
|
+ - name: Download PR info
|
|
|
uses: dawidd6/action-download-artifact@v6
|
|
|
with:
|
|
|
- name: pr-number
|
|
|
+ name: pr-info
|
|
|
run_id: ${{ github.event.workflow_run.id }}
|
|
|
- path: /tmp/pr-number
|
|
|
+ path: /tmp/pr-info
|
|
|
|
|
|
- name: Read PR Number
|
|
|
id: pr-number
|
|
|
uses: juliangruber/read-file-action@v1
|
|
|
with:
|
|
|
- path: /tmp/pr-number/pr.txt
|
|
|
+ path: /tmp/pr-info/number.txt
|
|
|
+
|
|
|
+ - name: Read PR base branch
|
|
|
+ id: pr-base
|
|
|
+ uses: juliangruber/read-file-action@v1
|
|
|
+ with:
|
|
|
+ path: /tmp/pr-info/base.txt
|
|
|
|
|
|
- name: Download Size Data
|
|
|
uses: dawidd6/action-download-artifact@v6
|
|
|
@@ -58,7 +64,7 @@ jobs:
|
|
|
- name: Download Previous Size Data
|
|
|
uses: dawidd6/action-download-artifact@v6
|
|
|
with:
|
|
|
- branch: ${{ github.base_ref }}
|
|
|
+ branch: ${{ steps.pr-base.outputs.content }}
|
|
|
workflow: size-data.yml
|
|
|
event: push
|
|
|
name: size-data
|