]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
ci: re-fix size report (#11204)
authorFernando Fernández <ferferga@hotmail.com>
Sun, 23 Jun 2024 19:00:38 +0000 (21:00 +0200)
committerGitHub <noreply@github.com>
Sun, 23 Jun 2024 19:00:38 +0000 (03:00 +0800)
.github/workflows/size-report.yml

index dafe74a22538cfdbe067702e108c48147422f9d3..89541a50dfe54157c674c2ddb0f78565ef456a1d 100644 (file)
@@ -13,7 +13,6 @@ permissions:
 
 env:
   PUPPETEER_SKIP_DOWNLOAD: 'true'
-  COMMENT_MARKER: <!-- VUE_CORE_SIZE -->
 
 jobs:
   size-report:
@@ -54,14 +53,12 @@ jobs:
           if_no_artifact_found: warn
 
       - name: Prepare report
-        run: |
-          pnpm tsx scripts/size-report.ts > size-report.md
-          echo '${{ env.COMMENT_MARKER }}' >> size-report.md
+        run: pnpm tsx scripts/size-report.ts > size-report.md
 
       - name: Create Comment
         uses: thollander/actions-comment-pull-request@v2.5.0
         with:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           filePath: size-report.md
-          comment_tag: ${{ env.COMMENT_MARKER }}
           pr_number: ${{ github.event.workflow_run.pull_requests[0].number }}
+          comment_tag: VUE_CORE_SIZE