Skip to content

Commit 12edfe2

Browse files
committed
Split push/release github actions workflows
1 parent 9c18116 commit 12edfe2

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.github/workflows/push.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build_wheels:
7+
name: Build wheel on ${{matrix.platform}}
8+
runs-on: ${{matrix.platform}}
9+
strategy:
10+
matrix:
11+
platform: [ubuntu-latest, macos-latest, windows-latest]
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Build wheels
15+
uses: pypa/[email protected]
16+
- uses: actions/upload-artifact@v2
17+
with:
18+
path: ./wheelhouse/*.whl

.github/workflows/wheels.yml renamed to .github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: Build
1+
name: Release
22

3-
on: [push, pull_request]
3+
on: release
44

55
jobs:
66
build_wheels:

0 commit comments

Comments
 (0)