ci: Fix attempt 2 issue with icon preview comments

This commit is contained in:
Eric Fennis
2025-03-07 11:14:17 +01:00
parent e619963183
commit ddad14a96d
2 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -39,5 +39,5 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: pr
name: pr_number
path: pr/