Skip to content

Commit 18bbc74

Browse files
committed
rationalize gh actions
1 parent c02be39 commit 18bbc74

File tree

3 files changed

+2
-20
lines changed

3 files changed

+2
-20
lines changed
Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
name: Build sdist and wheels for testing purposes
22

33
on:
4-
push:
5-
branches:
6-
- improve-build
74
pull_request:
85
branches:
9-
- improve-build
6+
- master
107

118
jobs:
129
build_sdist:
@@ -30,10 +27,6 @@ jobs:
3027
- name: Check metadata
3128
run: pipx run twine check --strict dist/*
3229

33-
- uses: actions/upload-artifact@v3
34-
with:
35-
path: dist/*.tar.gz
36-
3730
build_wheels:
3831
name: Build wheels on ${{ matrix.os }}
3932
runs-on: ${{ matrix.os }}
@@ -53,10 +46,6 @@ jobs:
5346
- name: Build wheels
5447
uses: pypa/[email protected]
5548

56-
- uses: actions/upload-artifact@v3
57-
with:
58-
path: wheelhouse/*.whl
59-
6049
build_arch_wheels:
6150
name: Build wheels on Linux ${{ matrix.arch }}
6251
runs-on: ubuntu-20.04
@@ -81,7 +70,3 @@ jobs:
8170
run: git diff --exit-code
8271
shell: bash
8372

84-
- name: Upload wheels
85-
uses: actions/upload-artifact@v3
86-
with:
87-
path: wheelhouse/*.whl
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ name: Build sdist and wheels and publish to TestPyPI
33
on:
44
push:
55
branches:
6-
- develop
7-
pull_request:
8-
branches:
9-
- develop
6+
- master
107

118
jobs:
129
build_sdist:

0 commit comments

Comments
 (0)