Skip to content

Commit 34016b8

Browse files
committed
Replace PR comment task
1 parent 0f6c8ca commit 34016b8

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/development.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,14 @@ jobs:
113113
if-no-files-found: error
114114
retention-days: 30
115115
- name: Comment Install instructions
116-
uses: mshick/add-pr-comment@v2
116+
uses: actions/github-script@v7
117117
with:
118-
message: |
119-
Build artifacts (.whl and .tar.gz) are available for download for up to 30 days.
120-
They are located at ${{ steps.artifact-upload.outputs.artifact-url }}
118+
github-token: ${{ secrets.GITHUB_TOKEN }}
119+
script: |
120+
github.rest.issues.createComment({
121+
issue_number: context.issue.number,
122+
owner: context.repo.owner,
123+
repo: context.repo.repo,
124+
body: `Build artifacts (.whl and .tar.gz) are available for download for up to 30 days.
125+
They are located at ${{ steps.artifact-upload.outputs.artifact-url }}`
126+
})

0 commit comments

Comments
 (0)