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 dd188e4 commit 5351f0bCopy full SHA for 5351f0b
.github/workflows/pypi-release.yml
@@ -0,0 +1,36 @@
1
+name: Release uinvers on PyPI
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ build-n-publish:
9
+ name: Build and publish univers to PyPI
10
+ runs-on: ubuntu-20.04
11
12
+steps:
13
+ - uses: actions/checkout@master
14
+ - name: Set up Python 3.6
15
+ uses: actions/setup-python@v1
16
+ with:
17
+ python-version: 3.6
18
+ - name: Install pypa/build
19
+ run: >-
20
+ python -m
21
+ pip install
22
+ build
23
+ --user
24
+ - name: Build a binary wheel and a source tarball
25
26
27
28
+ --sdist
29
+ --wheel
30
+ --outdir dist/
31
+ .
32
+ - name: Publish distribution 📦 to PyPI
33
+ if: startsWith(github.ref, 'refs/tags')
34
+ uses: pypa/gh-action-pypi-publish@master
35
36
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments