Skip to content

1.4.2 release

1.4.2 release #3

Workflow file for this run

---
# cspell:ignore mislav
name: release
"on":
release:
types: [published]
workflow_dispatch:
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/ansible-anonymizer/
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
# retrieve your distributions here
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Build the distribution
run: tox -e build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1