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

Error: No such option: --yml-path with v5 #1699

Open
HypeMC opened this issue Nov 24, 2024 · 0 comments
Open

Error: No such option: --yml-path with v5 #1699

HypeMC opened this issue Nov 24, 2024 · 0 comments
Assignees
Labels
Area: Report Upload Issues with pre-ingest report uploading high High Priority Issues (to be fixed within 2 sprints)

Comments

@HypeMC
Copy link

HypeMC commented Nov 24, 2024

The codecov_yml_path YAML option no longer works with version 5:

-   name: Upload Test Coverage
    uses: codecov/codecov-action@v5
    with:
        codecov_yml_path: .github/codecov.yaml
        fail_ci_if_error: true
        files: coverage.xml
        token: ${{ secrets.CODECOV_TOKEN }}
==> Running Action version 5.0.7

...

==> Fork detected, tokenless uploading used
Run if [ -z "$CC_SHA" ];
Run ${GITHUB_ACTION_PATH}/dist/codecov.sh
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/
                            Wrapper-0.0.27
                                  
==> Detected linux
 -> Downloading https://cli.codecov.io/latest/linux/codecov
==> Finishing downloading linux:latest
parse error: Invalid numeric literal at line 1, column 10
      Version: 
 
gpg: directory '/home/runner/.gnupg' created
gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
gpg: /home/runner/.gnupg/trustdb.gpg: trustdb created
gpg: key 806BB28AED779869: public key "Codecov Uploader (Codecov Uploader Verification Key) <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
==> Verifying GPG signature integrity
 -> Downloading https://cli.codecov.io/latest/linux/codecov.SHA256SUM
 -> Downloading https://cli.codecov.io/latest/linux/codecov.SHA256SUM.sig
 
gpg: Signature made Fri Nov 15 18:59:14 2024 UTC
gpg:                using RSA key 27034E7FDB850E0BBC2C62FF806BB28AED779869
gpg: Good signature from "Codecov Uploader (Codecov Uploader Verification Key) <[email protected]>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 2703 4E7F DB85 0E0B BC2C  62FF 806B B28A ED77 9869
codecov: OK
==> CLI integrity verified
 -> Token of length 0 detected
==> Running create-commit
      ./codecov --yml-path .github/codecov.yaml create-commit --fail-on-error --git-service github --sha 5222cac4cc5dd73003caf8bfb2dd66569c66fcc6
Usage: codecov [OPTIONS] COMMAND [ARGS]...
Try 'codecov --help' for help.
Error: No such option: --yml-path Did you mean --codecov-yml-path?
==> Failed to create-commit
    Exiting...
Error: Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Report Upload Issues with pre-ingest report uploading high High Priority Issues (to be fixed within 2 sprints)
Projects
None yet
Development

No branches or pull requests

3 participants