From e2f872ba9b7459363c0dd01064fae254423d5004 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Fri, 18 Mar 2022 14:18:05 +0100 Subject: [PATCH] control whether to run `dput` when manually dispatching debian workflow --- .github/workflows/debian.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 807e833a1..83084121d 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -4,6 +4,12 @@ on: release: types: [published] workflow_dispatch: + inputs: + dput: + description: 'Upload to PPA' + required: true + default: false + type: boolean env: JAVA_VERSION: 17 @@ -99,7 +105,7 @@ jobs: cryptomator_*_amd64.deb cryptomator_*.asc - name: Run dput to beta repo - if: startsWith(github.ref, 'refs/tags/') + if: startsWith(github.ref, 'refs/tags/') || github.event.inputs.dput run: dput ppa:sebastian-stenzel/cryptomator-beta cryptomator_*_source.changes - name: Publish Debian package on GitHub Releases if: startsWith(github.ref, 'refs/tags/')