diff --git a/.github/workflows/comment-icon-preview.yml b/.github/workflows/comment-icon-preview.yml index 2c0c6806e..792b6b242 100644 --- a/.github/workflows/comment-icon-preview.yml +++ b/.github/workflows/comment-icon-preview.yml @@ -39,10 +39,11 @@ jobs: } fs.writeFileSync(path.join(temp, 'pr_number.zip'), Buffer.from(download.data)); - - run: unzip pr.zip + - name: 'Unzip artifact' + run: unzip pr_number.zip -d "${{ runner.temp }}/artifacts" - name: 'Get PR number' - run: cat pr/NR + run: cat "${{ runner.temp }}/artifacts/pr_number" id: pr-number - name: Find Comment @@ -58,5 +59,5 @@ jobs: with: comment-id: ${{ steps.pr-comment.outputs.comment-id }} issue-number: ${{ steps.pr-number.outputs.stdout }} - body-path: ./pr/comment-markup.md + body-path: ${{ runner.temp }}/artifacts/pr_number/comment-markup.md edit-mode: replace diff --git a/.github/workflows/pull-request-icon-preview.yml b/.github/workflows/pull-request-icon-preview.yml index 8370dcb79..5a56b5a2a 100644 --- a/.github/workflows/pull-request-icon-preview.yml +++ b/.github/workflows/pull-request-icon-preview.yml @@ -39,5 +39,5 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: pr + name: pr_number path: pr/