Skip to content

Support Windows (#19) #8

Support Windows (#19)

Support Windows (#19) #8

Workflow file for this run

name: Release to PyPI
on:
push:
tags: ["*"]
jobs:
release:
runs-on: ubuntu-latest
environment:
name: release
url: https://pypi.org/p/tox-uv
permissions:
id-token: write
steps:
- name: Setup python to build package
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install uv
run: python -m pip install uv
- name: Active uv for global env
run: echo "VIRTUAL_ENV=${Python_ROOT_DIR}" >> $GITHUB_ENV
- name: Install build
run: uv pip install build[virtualenv]
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build package
run: pyproject-build -s -w . -o dist
- name: Publish to PyPI
uses: pypa/[email protected]