Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise error on upload artifact if no files #2884

Merged

Conversation

cesnietor
Copy link
Collaborator

@cesnietor cesnietor commented Jun 14, 2023

Currently if there was an issue uploading the artifacts, we just warn, causing the job to pass but the other jobs that depend on these artifacts fail:

Run actions/upload-artifact@v3
  with:
    name: replication-artifact
    path: ./replication/coverage/replication.out
    if-no-files-found: warn
Warning: No files were found with the provided path: ./replication/coverage/replication.out.

rule added is :

 if-no-files-found: error

It formated the file also

@cesnietor cesnietor force-pushed the raise-error-on-upload-artifact-if-no-files branch from d2b52d9 to 7bcda14 Compare June 14, 2023 22:50
@cesnietor cesnietor merged commit cbd2c46 into minio:master Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants