Skip to content

Commit

Permalink
Attempt to fix GH Action
Browse files Browse the repository at this point in the history
  • Loading branch information
HardeepAsrani committed Dec 21, 2023
1 parent 559f81e commit e974733
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/create-build-url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,18 @@ jobs:
- Download QuickWP - [Download](https://verti-artifacts.s3.amazonaws.com/${{ github.event.pull_request.base.repo.name }}-${{ needs.dev-zip.outputs.branch-name }}-${{ needs.dev-zip.outputs.git-sha-8 }}/quickwp.zip)"
body="${body//$'\n'/'%0A'}"
echo "::set-output name=body::$body"
- name: Create comment on PR with links to plugin builds
if: ${{ steps.find-comment.outputs.comment-id == '' }}
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v3
with:
issue-number: ${{ steps.get-pr-number.outputs.num }}
token: ${{ secrets.BOT_TOKEN }}
body: ${{ steps.get-comment-body.outputs.body }}

- name: Update comment on PR with links to plugin builds
if: ${{ steps.find-comment.outputs.comment-id != '' }}
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v3
with:
comment-id: ${{ steps.find-comment.outputs.comment-id }}
edit-mode: replace
Expand Down

0 comments on commit e974733

Please sign in to comment.