Skip to content

🐍 snekmate v0.0.3 #3

🐍 snekmate v0.0.3

🐍 snekmate v0.0.3 #3

Workflow file for this run

name: 📦 Publish 🐍 snekmate to PyPI
on:
release:
types: [published]
jobs:
build-n-publish:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
architecture:
- x64
python-version:
- 3.11
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}