Skip to content

Add Workflow Manager samples #198

Add Workflow Manager samples

Add Workflow Manager samples #198

Workflow file for this run

name: Publish Test Python Package
on:
push:
paths:
- '**.py'
branches:
- main
jobs:
deploy-package:
runs-on: ubuntu-latest
if: "startsWith(github.event.head_commit.message, '[DEPLOY]')"
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish to test index
env:
TWINE_USERNAME: ${{ secrets.DEV_PACKAGE_ID }}
TWINE_PASSWORD: ${{ secrets.DEV_PACKAGE_SECRET }}
run: |
python setup.py sdist bdist_wheel
twine upload --repository testpypi dist/*