Skip to content

Vendor ssh2-python as a submodule #52

Vendor ssh2-python as a submodule

Vendor ssh2-python as a submodule #52

Workflow file for this run

name: PythonPackage
on:
push:
tags:
- "*"
jobs:
publish:
name: Build and Deploy to PyPi
runs-on: ubuntu-latest
if: github.repository == 'SatelliteQE/broker'
strategy:
matrix:
# build/push in lowest support python version
python-version: [ "3.10" ]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup and Build
env:
PWD: "${{ github.workspace }}"
run: |
pip install uv
uv venv
source .venv/bin/activate
uv pip install -e .[setup]
python -m build
python -m twine check dist/*
- name: Build and publish
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
skip_existing: true