Skip to content

2.5.0: Collect-status, Harness.get_filesystem_root, Pebble service context #18

2.5.0: Collect-status, Harness.get_filesystem_root, Pebble service context

2.5.0: Collect-status, Harness.get_filesystem_root, Pebble service context #18

Workflow file for this run

name: Publish
on:
release:
types:
- published
jobs:
framework-tests:
uses: ./.github/workflows/framework-tests.yaml
observability-charm-tests:
uses: ./.github/workflows/observability-charm-tests.yaml
hello-charm-tests:
uses: ./.github/workflows/hello-charm-tests.yaml
build-n-publish:
name: Build and Publish to PyPI
runs-on: ubuntu-latest
needs: [framework-tests, observability-charm-tests, hello-charm-tests]
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: "3.10"
- name: Install wheel
run: pip install wheel
- name: Build
run: python setup.py sdist bdist_wheel
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}