gha: Switched to standard da for cross-workflow downloads
Looks like cross-workflow downloads has finally been added to the standard download-artifact action, so we might as well switch to it to reduce dependencies. dawidd6's version was also missing the merge-multiple feature which is necessary to work around breaking changes in download-artifact's v4 bump. Weirdly it needs GITHUB_TOKEN for some reason? Not sure why this couldn't be implicit.
This commit is contained in:
@@ -30,27 +30,27 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
# try to get results from tests
|
# try to get results from tests
|
||||||
- uses: dawidd6/action-download-artifact@v6
|
- uses: actions/download-artifact@v4.1.8
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
workflow: ${{github.event.workflow_run.name}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
run_id: ${{github.event.workflow_run.id}}
|
run-id: ${{github.event.workflow_run.id}}
|
||||||
pattern: '{sizes,sizes-*}'
|
pattern: '{sizes,sizes-*}'
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
path: sizes
|
path: sizes
|
||||||
- uses: dawidd6/action-download-artifact@v6
|
- uses: actions/download-artifact@v4.1.8
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
workflow: ${{github.event.workflow_run.name}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
run_id: ${{github.event.workflow_run.id}}
|
run-id: ${{github.event.workflow_run.id}}
|
||||||
pattern: '{cov,cov-*}'
|
pattern: '{cov,cov-*}'
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
path: cov
|
path: cov
|
||||||
- uses: dawidd6/action-download-artifact@v6
|
- uses: actions/download-artifact@v4.1.8
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
workflow: ${{github.event.workflow_run.name}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
run_id: ${{github.event.workflow_run.id}}
|
run-id: ${{github.event.workflow_run.id}}
|
||||||
pattern: '{bench,bench-*}'
|
pattern: '{bench,bench-*}'
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
path: bench
|
path: bench
|
||||||
|
|||||||
@@ -13,11 +13,11 @@ jobs:
|
|||||||
status:
|
status:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: dawidd6/action-download-artifact@v6
|
- uses: actions/download-artifact@v4.1.8
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
workflow: ${{github.event.workflow_run.name}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
run_id: ${{github.event.workflow_run.id}}
|
run-id: ${{github.event.workflow_run.id}}
|
||||||
pattern: '{status,status-*}'
|
pattern: '{status,status-*}'
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
path: status
|
path: status
|
||||||
@@ -68,11 +68,11 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
# generated comment?
|
# generated comment?
|
||||||
- uses: dawidd6/action-download-artifact@v6
|
- uses: actions/download-artifact@v4.1.8
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
workflow: ${{github.event.workflow_run.name}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
run_id: ${{github.event.workflow_run.id}}
|
run-id: ${{github.event.workflow_run.id}}
|
||||||
pattern: '{comment,comment-*}'
|
pattern: '{comment,comment-*}'
|
||||||
merge-multiple: true
|
merge-multiple: true
|
||||||
path: comment
|
path: comment
|
||||||
|
|||||||
Reference in New Issue
Block a user