2022-11-25 07:30:34 +00:00
|
|
|
---
|
|
|
|
name: Build docset
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags: ["*"]
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
env:
|
|
|
|
PIP_DISABLE_PIP_VERSION_CHECK: 1
|
|
|
|
PIP_NO_PYTHON_VERSION_WARNING: 1
|
|
|
|
|
2023-04-03 06:18:52 +00:00
|
|
|
permissions:
|
2022-11-25 07:30:34 +00:00
|
|
|
contents: read
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
docset:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
2023-04-03 06:18:52 +00:00
|
|
|
fetch-depth: 0
|
2022-11-25 07:30:34 +00:00
|
|
|
- uses: actions/setup-python@v4
|
|
|
|
with:
|
2023-04-03 06:18:52 +00:00
|
|
|
python-version: "3.x"
|
2022-11-25 07:30:34 +00:00
|
|
|
|
|
|
|
- run: pip install tox
|
|
|
|
|
|
|
|
- run: tox -e docset
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: docset
|
|
|
|
path: attrs.tgz
|