Skip to content

Commit

Permalink
Use different action to download artifacts based on workflow_id
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Oct 29, 2023
1 parent c32ece7 commit 524fcee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pr-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ jobs:
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
steps:
- uses: actions/download-artifact@v3
- uses: dawidd6/action-download-artifact@v2
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
name: pr
path: ./var/phpbench/pr-id.txt

Expand All @@ -23,8 +24,9 @@ jobs:
run: |
echo "id=$(<pr-id.txt)" >> $GITHUB_OUTPUT
- uses: actions/download-artifact@v3
- uses: dawidd6/action-download-artifact@v2
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
name: phpbench
path: ./var/phpbench/summary.txt

Expand Down

0 comments on commit 524fcee

Please sign in to comment.