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

35 lines
585 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"
permissions:
contents: read
jobs:
docset:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.x"
2023-06-12 05:48:55 +00:00
- run: python -Im pip install tox
2023-06-12 05:48:55 +00:00
- run: python -Im tox run -e docset
- uses: actions/upload-artifact@v3
with:
name: docset
path: attrs.tgz