We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91164f1 commit 58d2bc5Copy full SHA for 58d2bc5
.github/workflows/release.py
@@ -0,0 +1,35 @@
1
+name: publish new version to PyPI
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ max-parallel: 1
12
+ matrix:
13
+ package: ["test_validation"]
14
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - uses: actions/setup-python@v5
19
+ with:
20
+ python-version: 3.11
21
22
+ - name: Install dependencies
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ pip install setuptools setuptools_scm wheel
26
27
+ - name: Build packages
28
+ run: python setup.py sdist bdist_wheel
29
30
+ - name: Publish package
31
+ uses: pypa/gh-action-pypi-publish@master
32
33
+ user: __token__
34
+ password: ${{ secrets.PYPI_API_TOKEN }}
35
+ packages_dir: dist/
0 commit comments