Skip to content

Commit

Permalink
pypi CD
Browse files Browse the repository at this point in the history
  • Loading branch information
peppelinux committed Apr 12, 2021
1 parent 815effe commit 7243385
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/pypy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Publish Python distribution to PyPI
on:
release:
types:
- created

jobs:
build-n-publish:
name: Publish Python distribution to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name='django_audit_wazuh',
version='v0.6.0',
version='v0.6.0-1',
packages=find_packages(),
include_package_data=True,
license='Apache',
Expand Down

0 comments on commit 7243385

Please sign in to comment.