Skip to content

Merge branch 'main' into pathlib-virtual-subclasses #2

Merge branch 'main' into pathlib-virtual-subclasses

Merge branch 'main' into pathlib-virtual-subclasses #2

Workflow file for this run

name: Build
on:
push:
permissions:
contents: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hynek/build-and-inspect-python-package@v2
publish:
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/')
environment:
name: release
url: https://pypi.org/project/pathlib-abc
steps:
- uses: actions/download-artifact@v4
with:
name: Packages
path: dist
- name: Upload wheel to release
uses: svenstaro/upload-release-action@v2
with:
file: dist/*
tag: ${{ github.ref }}
overwrite: true
file_glob: true
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1