Skip to content

Instantly share code, notes, and snippets.

@abatilo
Created May 30, 2019 01:00
Show Gist options
  • Save abatilo/f1674baf5fc48860fbdb647f5ce947c2 to your computer and use it in GitHub Desktop.
Save abatilo/f1674baf5fc48860fbdb647f5ce947c2 to your computer and use it in GitHub Desktop.

actions-poetry

GitHub Actions for Python projects using poetry

license release GitHub release date

Getting started

Branch Base image
3.7 python:3.7.3-stretch

Create main.workflow

workflow "Python workflow" {
  on = "push"
  resolves = ["publish"]
}

action "publish" {
  needs = "poetry-build"
  uses = "abatilo/actions-poetry@3.7.3"
  args = ["publish", "--build", "--no-interaction", "-vv", "--username", "$PYPI_USERNAME", "--password", "$PYPI_PASSWORD"]
}

License

MIT License - abatilo/actions-poetry

About the author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment