Skip to content

chore: release 1.4.2 #13

chore: release 1.4.2

chore: release 1.4.2 #13

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- "v*"
permissions:
contents: read
id-token: write
jobs:
pre-flight:
name: Pre-flight checks (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.12", "3.13" ]
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Sync dependencies
run: uv sync --all-extras
- name: Run quality gate
run: make all
publish:
name: Publish
needs: pre-flight
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/logseq-matryca-parser
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install build
run: |
python -m pip install --upgrade pip
pip install build
- name: Build sdist and wheel
run: python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1