mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-29 00:39:31 +01:00
ci: Fix attempt 2 issue with icon preview comments
This commit is contained in:
7
.github/workflows/comment-icon-preview.yml
vendored
7
.github/workflows/comment-icon-preview.yml
vendored
@@ -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
|
||||
|
||||
@@ -39,5 +39,5 @@ jobs:
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: pr
|
||||
name: pr_number
|
||||
path: pr/
|
||||
|
||||
Reference in New Issue
Block a user