Skip to content

v1.1.1

v1.1.1 #12

Workflow file for this run

name: Upload Python Package
on:
release:
types: [published]
permissions:
contents: write
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
environment:
name: publishing
url: https://pypi.org/p/nio-bot
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 build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1.8
- name: Upload wheels to release
uses: softprops/action-gh-release@v2
with:
files: dist/*