attrs/.github/workflows/build-docset.yml

35 lines
614 B
YAML
Raw Normal View History

---
name: Build docset
on:
push:
tags: ["*"]
workflow_dispatch:
env:
2023-06-12 05:48:55 +00:00
PIP_DISABLE_PIP_VERSION_CHECK: "1"
PIP_NO_PYTHON_VERSION_WARNING: "1"
2023-12-31 06:34:23 +00:00
permissions: {}
2024-11-02 08:24:37 +00:00
jobs:
docset:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
2024-11-02 08:24:37 +00:00
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: "3.x"
2024-11-02 08:24:37 +00:00
- uses: hynek/setup-cached-uv@v2
2024-11-02 08:24:37 +00:00
- run: uvx --with=tox-uv tox run -e docset
2023-12-31 06:34:23 +00:00
- uses: actions/upload-artifact@v4
with:
name: docset
path: attrs.tgz