-
Notifications
You must be signed in to change notification settings - Fork 884
Open
Labels
enhancementNew feature or requestNew feature or request
Description
What would you like to be added?
Please add the same behavior of if-no-files-found
from the main action to the merge action
Why is this needed?
Many matrixed workflows conditionally generate artifacts (i.e. Cypress videos or snapshots). The previous pattern in v3 was to simply upload artifact and set if-no-files-found: ignore
. If there's artifacts, great...if not, no problem.
Given that the solution to accomplish the same task in v4 is to use the merge action. There should be a matching param so that in the event all the matrixed tests pass without issue, the merge job doesn't fail.
Try It
- name: Merge Artifacts
uses: comp615/upload-artifact/merge@merge_not_found
with:
name: cypress-videos
pattern: cypress-videos-*
delete-merged: true
if-no-files-found: ignore
martibenn, DanTup, kenorb, mike-ainsel, marcialrs and 6 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request