diff options
author | David Robertson <davidr@element.io> | 2022-02-22 11:33:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 11:33:37 +0000 |
commit | af2c1e3d2a56c4042db27e70b72409ce8f4b406e (patch) | |
tree | 01ed3a06b07b77acb25f0bf8c336cfa87e08a6f7 /.github/workflows/release-artifacts.yml | |
parent | Move isort config to `pyproject.toml` (#12052) (diff) | |
download | synapse-af2c1e3d2a56c4042db27e70b72409ce8f4b406e.tar.xz |
Tidy the building of sdists and wheels (#12051)
* Don't build distribution pkgs in tests.yml * Run `release-artifacts` on release branches * Use backend-meta workflow for packaging
Diffstat (limited to '.github/workflows/release-artifacts.yml')
-rw-r--r-- | .github/workflows/release-artifacts.yml | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index eb294f1619..eee3633d50 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -7,7 +7,7 @@ on: # of things breaking (but only build one set of debs) pull_request: push: - branches: ["develop"] + branches: ["develop", "release-*"] # we do the full build on tags. tags: ["v*"] @@ -91,17 +91,7 @@ jobs: build-sdist: name: "Build pypi distribution files" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - run: pip install wheel - - run: | - python setup.py sdist bdist_wheel - - uses: actions/upload-artifact@v2 - with: - name: python-dist - path: dist/* + uses: "matrix-org/backend-meta/.github/workflows/packaging.yml@v1" # if it's a tag, create a release and attach the artifacts to it attach-assets: |