We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a760dd commit cfd3f50Copy full SHA for cfd3f50
.github/workflows/publish_whl.yml
@@ -0,0 +1,34 @@
1
+name: Push rapid-doc to PyPI
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - v*
7
8
+jobs:
9
+ build-and-publish:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v3
14
15
+ - name: Set up Python 3.10
16
+ uses: actions/setup-python@v4
17
+ with:
18
+ python-version: '3.10'
19
20
+ - name: Install build tools
21
+ run: |
22
+ python -m pip install --upgrade pip
23
+ pip install build wheel
24
25
+ - name: Build wheel
26
27
+ python -m build --wheel
28
29
+ - name: Publish to PyPI
30
+ uses: pypa/gh-action-pypi-publish@v1.5.0
31
32
+ user: __token__
33
+ password: ${{ secrets.RAPID_DOC }}
34
+ packages_dir: dist/
0 commit comments