Skip to content

docs(readme): fix license (Apache 2.0), add web viewer and NativeFile… #3

docs(readme): fix license (Apache 2.0), add web viewer and NativeFile…

docs(readme): fix license (Apache 2.0), add web viewer and NativeFile… #3

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- '*'
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pysimplemask
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build package
run: |
python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1