Skip to content

fix: rename PyPI package to vexis-sdk-python (vexis-sdk taken) #5

fix: rename PyPI package to vexis-sdk-python (vexis-sdk taken)

fix: rename PyPI package to vexis-sdk-python (vexis-sdk taken) #5

Workflow file for this run

name: CI/CD
on:
push:
branches: [main]
tags: ['v*']
pull_request:
branches: [main]
permissions:
contents: read
id-token: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e "." || pip install .
- run: python -c "from vexis import Vexis; print('✅ Import OK')"
publish:
needs: build
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install hatch
- run: hatch build
- uses: pypa/gh-action-pypi-publish@release/v1