🔖 Release version 0.0.7.dev1 #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
release: | |
types: | |
- created | |
# TODO: remove this | |
push: | |
branches: | |
- slim | |
workflow_dispatch: | |
inputs: | |
debug_enabled: | |
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' | |
required: false | |
default: 'false' | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
package: | |
- asyncer | |
- asyncer-slim | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install build dependencies | |
run: pip install build | |
- name: Build distribution | |
env: | |
TIANGOLO_BUILD_PACKAGE: ${{ matrix.package }} | |
run: python -m build | |
- name: Publish | |
uses: pypa/gh-action-pypi-publish@v1.8.11 |