Merge branch 'version-2.10' #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish easy-thumbnails | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish: | |
name: "Publish release" | |
runs-on: "ubuntu-latest" | |
environment: | |
name: deploy | |
strategy: | |
matrix: | |
python-version: ["3.9"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install build --user | |
python -m pip install pillow | |
- name: Build 🐍 Python 📦 Package | |
run: python -m build --sdist --wheel --outdir dist/ | |
- name: Publish 🐍 Python 📦 Package to PyPI | |
if: startsWith(github.ref, 'refs/tags') | |
uses: pypa/gh-action-pypi-publish@master | |
with: | |
password: ${{ secrets.PYPI_API_TOKEN_EASY_THUMBNAILS }} |