Skip to content

fix: BPMN not working in release 0.8.1 #71 #113

fix: BPMN not working in release 0.8.1 #71

fix: BPMN not working in release 0.8.1 #71 #113

# This workflow will upload a Python Package using Hatch when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: Upload Python Package to Test-Pypi
on:
workflow_dispatch:
push:
branches:
- '**'
- '!dependabot/**'
env:
FORCE_COLOR: "1"
jobs:
deploy-test:
runs-on: ubuntu-latest
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 --upgrade hatch
- name: Bump temp dev release
run: |
CURRENT_VERSION=$(NO_COLOR="1" hatch version)
TIMESTAMP=$(date +%s)
hatch version "$CURRENT_VERSION-$TIMESTAMP"
- name: Build package
run: hatch build
- name: Publish package
env:
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: hatch publish --repo test