File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change 1- # GitHub actions workflow which builds the debian packages .
1+ # GitHub actions workflow which builds the release artifacts .
22
3- name : Debs
3+ name : Build release artifacts
44
55on :
66 push :
7+ # we build on develop and release branches to (hopefully) get early warning
8+ # of things breaking
79 branches : ["develop", "release-*"]
810
11+ # we also rebuild on tags, so that we can be sure of picking the artifacts
12+ # from the right tag.
13+ tags : ["v*"]
14+
915permissions :
1016 contents : read
1117
4046 - run : ./src/scripts-dev/build_debian_packages "${{ matrix.distro }}"
4147 - uses : actions/upload-artifact@v2
4248 with :
43- name : packages
49+ name : debs
4450 path : debs/*
51+
52+ build-sdist :
53+ name : " Build pypi distribution files"
54+ runs-on : ubuntu-latest
55+ steps :
56+ - uses : actions/checkout@v2
57+ - uses : actions/setup-python@v2
58+ - run : pip install wheel
59+ - run : |
60+ python setup.py sdist bdist_wheel
61+ - uses : actions/upload-artifact@v2
62+ with :
63+ name : python-dist
64+ path : dist/*
You can’t perform that action at this time.
0 commit comments