Skip to content

ESPN API v0.42.0

ESPN API v0.42.0 #97

Workflow file for this run

name: Python package release
on:
release:
types: [created]
jobs:
release:
runs-on: ubuntu-20.04
environment:
name: pypi
url: https://pypi.org/p/espn-api
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install twine
pip install wheel
- name: Build Python package
run: python setup.py bdist_wheel
- name: Twine check
run: twine check dist/*
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1