Skip to content

mozilla-django-oidc pypi release #7

mozilla-django-oidc pypi release

mozilla-django-oidc pypi release #7

Workflow file for this run

name: mozilla-django-oidc pypi release
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
release:
runs-on: ubuntu-latest
name: Mozilla Django OIDC Release
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: "3.12"
- name: Install dependencies
run: pip install tox tox-gh-actions build
- name: Run tox
run: tox
- name: Build package
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@v1.4.2
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}