Skip to content

Bump version: 1.8.3 → 1.9.0 #51

Bump version: 1.8.3 → 1.9.0

Bump version: 1.8.3 → 1.9.0 #51

Workflow file for this run

name: Release
on:
push:
tags:
- "*"
jobs:
test:
uses: ./.github/workflows/unittest.yml

Check failure on line 10 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yaml" -> "./.github/workflows/unittest.yml" (source tag with sha:484476fc280428dd7258aa1dc0c9b4fa04c0575f) : workflow is not reusable as it is missing a `on.workflow_call` trigger
release:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: Install hatch
run: pip install hatch
- name: Build
run: hatch build
- name: Install
run: pip install dist/*.whl
- name: Test import
run: python -c "import react_ipywidgets; import reacton;"
- name: Publish a Python distribution to PyPI
env:
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.pypi_password }}
run: |
openssl sha256 dist/*
hatch publish
- uses: actions/upload-artifact@v4
with:
name: distributions
path: ./dist