Skip to content

bump maestro version from 0.2.0rc4 to 0.2.0rc5 #2

bump maestro version from 0.2.0rc4 to 0.2.0rc5

bump maestro version from 0.2.0rc4 to 0.2.0rc5 #2

name: Maestro Test Releases to PyPi
on:
push:
tags:
- '[0-9]+.[0-9]+[0-9]+.[0-9]+a[0-9]'
- '[0-9]+.[0-9]+[0-9]+.[0-9]+b[0-9]'
- '[0-9]+.[0-9]+[0-9]+.[0-9]+rc[0-9]'
- '[0-9]+.[0-9]+.[0-9]+a[0-9]'
- '[0-9]+.[0-9]+.[0-9]+b[0-9]'
- '[0-9]+.[0-9]+.[0-9]+rc[0-9]'
workflow_dispatch:
jobs:
build-n-publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: 🏗️ Build source and wheel distributions
run: |
python -m pip install --upgrade build twine
python -m build
twine check --strict dist/*
- name: 🚀 Publish to PyPi - Prelease
uses: pypa/gh-action-pypi-publish@release/v1.10
with:
password: ${{ secrets.PYPI_API_TOKEN }}
- name: 🚀 Publish to Test-PyPi - Prelease
uses: pypa/gh-action-pypi-publish@release/v1.10
with:
repository-url: https://test.pypi.org/legacy/
password: ${{ secrets.TEST_PYPI_API_TOKEN }}