Skip to content

initializing job info only if clusterscope.get_job() gets called (#62) #16

initializing job info only if clusterscope.get_job() gets called (#62)

initializing job info only if clusterscope.get_job() gets called (#62) #16

Workflow file for this run

name: Release to PyPI
on:
push:
tags: ['v[0-9].[0-9]+.[0-9]+']
jobs:
build-and-publish:
runs-on: ubuntu-latest
environment: pypi-publish
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install build tools
run: |
python -m pip install . --upgrade build twine
- name: Install clusterscope
run: |
python -m build
- name: Publish to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload --skip-existing dist/*