Skip to content

Commit

Permalink
Merge pull request #2 from iabdalkader/update_workflows
Browse files Browse the repository at this point in the history
Update workflow.
  • Loading branch information
iabdalkader authored Jul 25, 2024
2 parents eb65107 + 19b59d7 commit ae0c509
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/code-size-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
- name: '↓ Download code size report'
uses: actions/download-artifact@v4
with:
pattern: "code-size-report.md"
name: "code-size-report.md"
path: ${GITHUB_WORKSPACE}
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ github.token }}

- name: '📝 Check report'
run: |
ls -1 -R
CODE_SIZE_REPORT=${GITHUB_WORKSPACE}/code_size_report.md
cat ${CODE_SIZE_REPORT}
CODE_SIZE_REPORT=code-size-report.md
cat ${GITHUB_WORKSPACE}/${CODE_SIZE_REPORT}
PR_NUMBER=$(jq -r '.workflow_run.pull_requests[0].number' < "$GITHUB_EVENT_PATH")
echo "Pull Request Number: $PR_NUMBER"
Expand All @@ -38,4 +38,4 @@ jobs:
uses: thollander/actions-comment-pull-request@v2
with:
pr_number: ${{ steps.generate_report.outputs.pr_number }}
filePath: ${{ steps.generate_report.outputs.code_size_report }}
filePath: ${{ github.workspace }}/${{ steps.generate_report.outputs.code_size_report }}

0 comments on commit ae0c509

Please sign in to comment.