Skip to content

2.2.0

2.2.0 #5

Workflow file for this run

name: Upload to PyPI
on:
release:
types: [published]
jobs:
upload:
runs-on: ubuntu-latest
environment:
name: pypi.org
url: https://pypi.org/project/cookiecutter/
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}