aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2020-06-09 01:07:31 +0000
committerMike Crute <mike@crute.us>2020-06-09 02:25:32 +0000
commitf6714a399003e660d310172391dfb762ea306b00 (patch)
tree9eaae019ca5dcbb7b6e23ac775e066fa990a3084 /.github/workflows/release.yml
parente42c95b978a83a1ba48020b6d84218f2f17b5db4 (diff)
downloadpydora-f6714a399003e660d310172391dfb762ea306b00.tar.bz2
pydora-f6714a399003e660d310172391dfb762ea306b00.tar.xz
pydora-f6714a399003e660d310172391dfb762ea306b00.zip
Convert build system to tox
This is the current modern way to build, package, and test python code.
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..f47c613
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,23 @@
1name: release
2
3on:
4 push:
5 tags:
6 - 'release-*'
7
8jobs:
9 build:
10 runs-on: ubuntu-latest
11
12 steps:
13 - uses: actions/checkout@v2
14
15 - uses: actions/setup-python@v2
16 with:
17 python-version: 3.8
18
19 - env:
20 TWINE_PASSWORD: ${{ secrets.PYPI_API_KEY }}
21 run: |
22 pip install tox
23 tox -e tests,release,upload