Skip to content

Zero exit with empty input for python-version #241

@jerry-git

Description

@jerry-git

Describe the bug
Not sure if this a bug or by design but the action does nothing and exists with 0 if the python-version input is empty. IMO nonzero exit would be better suited.

To Reproduce

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v2
        with:
          python-version:

Example run: https://github.com/jerry-git/gh-actions-playground/runs/3600040805?check_suite_focus=true

Screenshot 2021-09-14 at 17 53 52

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy