ci: `docs-preview-deploy.yml` - Switch to official `download-artifact` action (#3838)
v4 of the official action now supports this use-case.
This commit is contained in:
parent
9ac11021e1
commit
a8ccd54da5
|
@ -23,14 +23,13 @@ jobs:
|
||||||
# Restore workflow context #
|
# Restore workflow context #
|
||||||
# ======================== #
|
# ======================== #
|
||||||
|
|
||||||
# The official Github Action for downloading artifacts does not support multi-workflow
|
# Retrieve the artifact uploaded from `docs-preview-prepare.yml` workflow run that triggered this deployment
|
||||||
- name: 'Download build artifact'
|
- name: 'Download build artifact'
|
||||||
uses: dawidd6/action-download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
name: preview-build
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run_id: ${{ github.event.workflow_run.id }}
|
run_id: ${{ github.event.workflow_run.id }}
|
||||||
workflow: docs-preview-prepare.yml
|
|
||||||
name: preview-build
|
|
||||||
|
|
||||||
- name: 'Extract build artifact'
|
- name: 'Extract build artifact'
|
||||||
run: tar -xf artifact.tar.zst
|
run: tar -xf artifact.tar.zst
|
||||||
|
|
Loading…
Reference in New Issue