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 ff8cd90 commit f36143eCopy full SHA for f36143e
.github/workflows/release.yaml
@@ -0,0 +1,29 @@
1
+name: Release Python Package
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-20.04
10
11
+ steps:
12
+ - uses: actions/checkout@v2
13
14
+ - name: Install
15
+ run: conda create --quiet --name shpc twine
16
17
+ - name: Install dependencies
18
+ run: |
19
+ export PATH="/usr/share/miniconda/bin:$PATH"
20
+ source activate shpc
21
+ pip install -e .
22
+ pip install setuptools wheel
23
+ - name: Build and publish
24
+ env:
25
+ TWINE_USERNAME: ${{ secrets.PYPI_USER }}
26
+ TWINE_PASSWORD: ${{ secrets.PYPI_PASS }}
27
28
+ python setup.py sdist bdist_wheel
29
+ twine upload dist/*
0 commit comments