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

support standard yaml syntax for files field #433

Closed
nicola-lunghi opened this issue Mar 19, 2024 · 1 comment
Closed

support standard yaml syntax for files field #433

nicola-lunghi opened this issue Mar 19, 2024 · 1 comment

Comments

@nicola-lunghi
Copy link

Currently the files to be uploaded are specified with a comma separated list of names.
Having a syntax like the upload-artifact action would be really nice:

https://github.com/actions/upload-artifact?tab=readme-ov-file#upload-using-multiple-paths-and-exclusions

    - uses: ncipollo/release-action@v1
      with:
        artifacts: |
          path/output/bin/
          path/output/test-results
          !path/**/*.tmp
@ncipollo
Copy link
Owner

You can use similar grep rules here, the paths are just delimited by a comma rather than a new line. At some point I may implement #322 which would give you the option of specifying the delimiter you want.

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

No branches or pull requests

2 participants