Fix multi-path returned from _path
methods on MacOS (#299)
#22
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: Release to PyPI | |
on: | |
push: | |
tags: ["*"] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
environment: | |
name: release | |
url: https://pypi.org/p/platformdirs | |
permissions: | |
id-token: write | |
steps: | |
- name: Setup python to build package | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: setup uv for tox | |
uses: yezz123/setup-uv@v4 | |
- name: Install build | |
run: uv pip install build[uv] --system | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Build package | |
run: pyproject-build --installer uv --sdist --wheel . --outdir dist | |
- name: Publish to PyPI | |
uses: pypa/[email protected] |