We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Support for if-no-files-found for some files to not fail completey
if-no-files-found
Lets say we are creating a generic step to upload files
uses: actions/upload-artifact@v2 with: name: java-artifact path: | ${{ github.workspace }}/target/*.war ${{ github.workspace }}/target/*.jar if-no-files-found: error
I would like it to error out only if it found 0 matches. If it found 1 match still pass through
To decrease the need to have conditional steps in the workflow to do file type checks.
The text was updated successfully, but these errors were encountered:
Actually looking through the source it seems like this should be supported but I'm getting an error even though one of the path should exist
Sorry, something went wrong.
For now I've gotten around this but using []
[]
- name: Upload java artifact uses: actions/upload-artifact@v3 with: name: java-artifact path: | ${{ github.workspace }}/target/*.[jw]ar if-no-files-found: error
No branches or pull requests
What would you like to be added?
Support for
if-no-files-found
for some files to not fail completeyLets say we are creating a generic step to upload files
I would like it to error out only if it found 0 matches. If it found 1 match still pass through
Why is this needed?
To decrease the need to have conditional steps in the workflow to do file type checks.
The text was updated successfully, but these errors were encountered: