-
-
Notifications
You must be signed in to change notification settings - Fork 266
35 lines (28 loc) · 827 Bytes
/
build-docset.yml
File metadata and controls
35 lines (28 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
name: Build docset
on:
push:
tags: ["*"]
workflow_dispatch:
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
PIP_NO_PYTHON_VERSION_WARNING: 1
permissions: {}
jobs:
docset:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0 # get correct version
persist-credentials: false
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: "3.12"
- run: pip install tox
- run: tox run -e docset
- run: tar --exclude='.DS_Store' -cvzf structlog.tgz structlog.docset
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
with:
name: docset
path: structlog.tgz