This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree 2 files changed +3
-28
lines changed
2 files changed +3
-28
lines changed Original file line number Diff line number Diff line change 7
7
# of things breaking (but only build one set of debs)
8
8
pull_request :
9
9
push :
10
- branches : ["develop"]
10
+ branches : ["develop", "release-*" ]
11
11
12
12
# we do the full build on tags.
13
13
tags : ["v*"]
91
91
92
92
build-sdist :
93
93
name : " Build pypi distribution files"
94
- runs-on : ubuntu-latest
95
- steps :
96
- - uses : actions/checkout@v2
97
- - uses : actions/setup-python@v2
98
- - run : pip install wheel
99
- - run : |
100
- python setup.py sdist bdist_wheel
101
- - uses : actions/upload-artifact@v2
102
- with :
103
- name : python-dist
104
- path : dist/*
94
+ uses : " matrix-org/backend-meta/.github/workflows/packaging.yml@v1"
105
95
106
96
# if it's a tag, create a release and attach the artifacts to it
107
97
attach-assets :
Original file line number Diff line number Diff line change 19
19
- " check_codestyle"
20
20
- " check_isort"
21
21
- " mypy"
22
- - " packaging"
23
22
24
23
steps :
25
24
- uses : actions/checkout@v2
@@ -48,24 +47,10 @@ jobs:
48
47
env :
49
48
PULL_REQUEST_NUMBER : ${{ github.event.number }}
50
49
51
- lint-sdist :
52
- runs-on : ubuntu-latest
53
- steps :
54
- - uses : actions/checkout@v2
55
- - uses : actions/setup-python@v2
56
- with :
57
- python-version : " 3.x"
58
- - run : pip install wheel
59
- - run : python setup.py sdist bdist_wheel
60
- - uses : actions/upload-artifact@v2
61
- with :
62
- name : Python Distributions
63
- path : dist/*
64
-
65
50
# Dummy step to gate other tests on without repeating the whole list
66
51
linting-done :
67
52
if : ${{ !cancelled() }} # Run this even if prior jobs were skipped
68
- needs : [lint, lint-crlf, lint-newsfile, lint-sdist ]
53
+ needs : [lint, lint-crlf, lint-newsfile]
69
54
runs-on : ubuntu-latest
70
55
steps :
71
56
- run : " true"
You can’t perform that action at this time.
0 commit comments