From 7b245262dfdbe30a85861d7c7e0146f745aa9b22 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sat, 6 Nov 2021 17:07:33 +0000 Subject: [PATCH] Maybe fix --- .github/workflows/nextjs_bundle_analysis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nextjs_bundle_analysis.yml b/.github/workflows/nextjs_bundle_analysis.yml index 4cc3b7f7..5c1117ee 100644 --- a/.github/workflows/nextjs_bundle_analysis.yml +++ b/.github/workflows/nextjs_bundle_analysis.yml @@ -73,17 +73,19 @@ jobs: # entry in your package.json file. - name: Compare with base branch bundle if: success() && github.event.number - run: ls -laR beta/.next/analyze/base && npx -p nextjs-bundle-analysis compare + run: ls -laR .next/analyze/base && npx -p nextjs-bundle-analysis compare + working-directory: beta - name: Get comment body id: get-comment-body if: success() && github.event.number run: | - body=$(cat beta/.next/analyze/__bundle_analysis_comment.txt) + body=$(cat .next/analyze/__bundle_analysis_comment.txt) body="${body//'%'/'%25'}" body="${body//$'\n'/'%0A'}" body="${body//$'\r'/'%0D'}" echo ::set-output name=body::$body + working-directory: beta - name: Find Comment uses: peter-evans/find-comment@v1