mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-07 12:05:33 +00:00
add workflow for automatic deploy on pypi
This commit is contained in:
parent
68ee3d7ef4
commit
ed522e9cc9
14
.github/workflows/pypi-publish.yml
vendored
Normal file
14
.github/workflows/pypi-publish.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
name: Python package
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
jobs:
|
||||||
|
build_and_publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Build and publish to pypi
|
||||||
|
uses: JRubics/poetry-publish@v1.17
|
||||||
|
with:
|
||||||
|
pypi_token: ${{ secrets.PYPI_TOKEN }}
|
||||||
|
ignore_dev_requirements: "yes"
|
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "pipreqs"
|
name = "pipreqs-test"
|
||||||
version = "0.4.13"
|
version = "45.1.47"
|
||||||
description = "Pip requirements.txt generator based on imports in project"
|
description = "Pip requirements.txt generator based on imports in project"
|
||||||
authors = ["Vadim Kravcenko <vadim.kravcenko@gmail.com>"]
|
authors = ["Vadim Kravcenko <vadim.kravcenko@gmail.com>"]
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user