We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff8ab27 commit d2bbb79Copy full SHA for d2bbb79
.github/workflows/check.yml
@@ -1,6 +1,7 @@
1
name: check
2
on:
3
push:
4
+ tags-ignore: ["**"]
5
pull_request:
6
schedule:
7
- cron: "0 8 * * *"
.github/workflows/release.yml
@@ -0,0 +1,27 @@
+name: Release to PyPI
+on:
+ push:
+ tags: ["*"]
+
+jobs:
+ release:
8
+ runs-on: ubuntu-22.04
9
+ environment:
10
+ name: release
11
+ url: https://pypi.org/p/sphinx-autodoc-typehints
12
+ permissions:
13
+ id-token: write
14
+ steps:
15
+ - name: Setup python to build package
16
+ uses: actions/setup-python@v4
17
+ with:
18
+ python-version: "3.11"
19
+ - name: Install build
20
+ run: python -m pip install build
21
+ - uses: actions/checkout@v3
22
23
+ fetch-depth: 0
24
+ - name: Build package
25
+ run: pyproject-build -s -w . -o dist
26
+ - name: Publish to PyPI
27
+ uses: pypa/[email protected]
0 commit comments