Skip to content

Commit 79c6e05

Browse files
committed
Build on PR to develop
1 parent b3a2323 commit 79c6e05

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/build-on-pr.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish Python 🐍 distribution 📦 to Pypi
2+
on:
3+
pull-request:
4+
branches:
5+
- develop
6+
7+
jobs:
8+
build:
9+
name: Publish Python 🐍 distribution 📦 to Pypi
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Set up Python 3.8
14+
uses: actions/setup-python@v1
15+
with:
16+
python-version: 3.8
17+
- name: Install pypa/build
18+
run: >-
19+
python -m
20+
pip install
21+
build
22+
--user
23+
- name: Build a binary wheel and a source tarball
24+
run: >-
25+
python -m
26+
build
27+
--sdist
28+
--wheel
29+
--outdir dist/

0 commit comments

Comments
 (0)