Skip to content

Commit 9b36ed0

Browse files
authored
Merge pull request pypa#123 from pypa/fix/95
Add release automation
2 parents 3b73bd9 + 87a7ae8 commit 9b36ed0

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# this file is *not* meant to cover or endorse the use of GitHub Actions, but rather to
2+
# help make automated releases for this project
3+
4+
name: Release
5+
6+
on:
7+
push:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build-and-publish:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up Python
17+
uses: actions/setup-python@v1
18+
with:
19+
python-version: '3.x'
20+
- name: Install build dependencies
21+
run: pip install -U setuptools wheel build
22+
- name: Build
23+
run: python -m build .
24+
- name: Publish
25+
uses: pypa/gh-action-pypi-publish@master
26+
with:
27+
password: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)