Skip to content

Redundant(?) build for python packages #460

Description

@nepalevov

Name and Version

all

What steps will reproduce the bug?

run python_package_release workflow

What is the expected behavior?

In Publish to pypi step of release job, the package is built, then published

What do you see instead?

In Publish to pypi step of release job, the package is built, then built again, then published

Additional information

Suggestion:
instead of

make build
make publish

keep only make publish and add a Makefile example, where the targets are bound, e.g.

build:
	$(POETRY) build
publish: build
	$(POETRY) publish -u __token__ -p $(PYPI_TOKEN) --skip-existing

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions