Skip to content

Commit

Permalink
fix: set env
Browse files Browse the repository at this point in the history
  • Loading branch information
lgz5689 committed Jan 15, 2024
1 parent 55c06f5 commit 92f6061
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/size-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
id: size-previous
working-directory: main-code
run: |
PREVIOUS_SIZE=$(node scripts/size-report.js)
echo "CURRENT_SIZE=$(node main-code/scripts/size-report.js)" >> $GITHUB_ENV
- name: Checkout PR code
uses: actions/checkout@v4
Expand All @@ -54,8 +54,9 @@ jobs:
run: pnpm run build

- name: Calculate current size
id: size-current
run: |
CURRENT_SIZE=$(node scripts/size-report.js)
echo "CURRENT_SIZE=$(node main-code/scripts/size-report.js)" >> $GITHUB_ENV
- name: Display size difference
run: |
Expand Down

0 comments on commit 92f6061

Please sign in to comment.