summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2020-12-27 15:33:43 -0600
committerBe <be@mixxx.org>2020-12-27 15:46:53 -0600
commit22421477f29dbead2bdb863cb500532c7c7745e0 (patch)
tree61e4dbb68a836aaecfb915d6a4502b2f095aeac4 /.github/workflows
parentd320be674b1b4c12cf70ed85a3e8cbb89c5d80b0 (diff)
GH Actions: upload to PPA for 2.3 branch
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 35c3c28ae3..f9abc87a34 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -263,7 +263,14 @@ jobs:
- name: "Package for PPA"
if: startsWith(matrix.os, 'ubuntu')
- run: cpack -G External -D DEB_SOURCEPKG=ON
+ run: |
+ if [[ "${{ github.ref }}" == "refs/head/2.3" ]] && [[ "${{ github.repository }}" == "mixxxdj/mixxx" ]]; then
+ CPACK_ARGS="-D DEB_UPLOAD_PPA=ppa:mixxx/mixxxbetas"
+ else
+ # only build the source DEB, do not upload
+ CPACK_ARGS="-D DEB_SOURCEPKG=ON"
+ fi
+ cpack -G External $CPACK_ARGS
working-directory: build
- name: "[macOS] Sign Package"