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 2c626c6 commit 1574ce7Copy full SHA for 1574ce7
.github/workflows/release.yml
@@ -0,0 +1,28 @@
1
+name: Release
2
+on:
3
+ push:
4
+ tags:
5
+ - "*"
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Set up Python 3.8
11
+ uses: actions/setup-python@v1
12
+ with:
13
+ python-version: 3.8
14
+ - name: Checkout code
15
+ uses: actions/checkout@v2
16
+ - name: Install dependencies
17
+ run: |
18
+ python -m pip install --upgrade pip
19
+ pip install ".[dev]" wheel
20
+ - name: Fetch web assets
21
+ run: inv assets
22
+ - name: Publish
23
+ env:
24
+ TWINE_USERNAME: "__token__"
25
+ TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
26
27
+ python setup.py sdist bdist_wheel
28
+ twine upload dist/*
0 commit comments