Generate Requirements Files #4
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: Generate Requirements Files | |
on: | |
workflow_dispatch: | |
jobs: | |
generate-requirements: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
python-version: ["3.10", "3.11", "3.12", "3.13"] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
# Install a specific version of uv. | |
version: "0.5.4" | |
- name: Generate requirements file | |
run: uv pip compile --all-extras pyproject.toml -o requirements-${{ matrix.os }}-${{ matrix.python-version }}.txt | |
- name: Upload requirements file | |
uses: actions/upload-artifact@v4 | |
with: | |
name: requirements | |
path: requirements-${{ matrix.os }}-${{ matrix.python-version }}.txt |