When using the action from on: workflow_run:
- name: Download and Extract Artifacts
uses: dawidd6/action-download-artifact@9dde25e7413c6123b6062d4c9fc954d6ff005cfc
continue-on-error: true
id: download
with:
run_id: ${{ github.event.workflow_run.id }}
path: artifacts
allow_forks: true
and the originating workflow is re-ran, this action will:
- Download artifacts from both runs (the original run and the re-ran one)
- Even worse: artifacts may not be in the right order (e.g. it may first download the one from the newer run and then the one from the older run, overriding the new artifacts).
Is there a way to prevent this?
When using the action from
on: workflow_run:and the originating workflow is re-ran, this action will:
Is there a way to prevent this?