Skip to content

refactor image transform code and fix a bunch of edge case resizing/c… #9

refactor image transform code and fix a bunch of edge case resizing/c…

refactor image transform code and fix a bunch of edge case resizing/c… #9

Workflow file for this run

---
name: "Publish PyPi package when a new tag is pushed"
on: # yamllint disable-line rule:truthy
push:
tags:
- 'v*'
# https://docs.pypi.org/trusted-publishers/using-a-publisher/
jobs:
pypi-publish:
name: "upload release to PyPI"
runs-on: "ubuntu-latest"
environment: "pypi-publish"
permissions:
id-token: "write"
steps:
# https://github.com/pypa/sampleproject/blob/main/.github/workflows/release.yml
- name: "Checkout"
uses: "actions/checkout@v3"
- name: "Set up Python"
uses: "actions/setup-python@v4"
with:
python-version: '3.11'
- name: "Install build dependencies"
run: "python -m pip install -U setuptools wheel build"
- name: "Build"
run: "python -m build ."
- name: "Publish package distributions to PyPI"
uses: "pypa/gh-action-pypi-publish@release/v1"
...