Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 21 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,25 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@master
- name: Set up Python 3.8.18
uses: actions/setup-python@v1
with:
python-version: 3.8.18
- uses: actions/checkout@v4

- name: Install dependencies
run: |
pip3 install --user --upgrade setuptools wheel twine
- name: Build source archive and build distribution
run: |
python3 setup.py sdist bdist_wheel
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'

- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade build twine

- name: Build source archive and wheel
run: |
python -m build

- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='cyberwatch_api',
version='0.3.9',
version='0.3.10',
description='Python Api client for the Cyberwatch software',
long_description=open('README.md').read().strip(),
long_description_content_type="text/markdown",
Expand Down
Loading