2022-11-25 07:30:34 +00:00
|
|
|
---
|
|
|
|
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"
|
2022-11-25 07:30:34 +00:00
|
|
|
|
2023-12-31 06:34:23 +00:00
|
|
|
permissions: {}
|
2022-11-25 07:30:34 +00:00
|
|
|
|
2024-11-02 08:24:37 +00:00
|
|
|
|
2022-11-25 07:30:34 +00:00
|
|
|
jobs:
|
|
|
|
docset:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-10-01 05:45:12 +00:00
|
|
|
- uses: actions/checkout@v4
|
2022-11-25 07:30:34 +00:00
|
|
|
with:
|
2023-04-03 06:18:52 +00:00
|
|
|
fetch-depth: 0
|
2024-11-02 08:24:37 +00:00
|
|
|
persist-credentials: false
|
2024-01-01 13:54:46 +00:00
|
|
|
- uses: actions/setup-python@v5
|
2022-11-25 07:30:34 +00:00
|
|
|
with:
|
2023-04-03 06:18:52 +00:00
|
|
|
python-version: "3.x"
|
2024-11-02 08:24:37 +00:00
|
|
|
- uses: hynek/setup-cached-uv@v2
|
2022-11-25 07:30:34 +00:00
|
|
|
|
2024-11-02 08:24:37 +00:00
|
|
|
- run: uvx --with=tox-uv tox run -e docset
|
2022-11-25 07:30:34 +00:00
|
|
|
|
2023-12-31 06:34:23 +00:00
|
|
|
- uses: actions/upload-artifact@v4
|
2022-11-25 07:30:34 +00:00
|
|
|
with:
|
|
|
|
name: docset
|
|
|
|
path: attrs.tgz
|