From 6cdaa4fa5b61707c272efafdeb2ea0c4292fc99e Mon Sep 17 00:00:00 2001 From: Paulchen-Panther <16664240+Paulchen-Panther@users.noreply.github.com> Date: Sat, 18 Nov 2023 17:38:01 +0100 Subject: [PATCH] added workflow_dispatch to repo build/publish --- .github/workflows/releases_repo_build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/releases_repo_build.yml b/.github/workflows/releases_repo_build.yml index cf7f90d..32f373b 100644 --- a/.github/workflows/releases_repo_build.yml +++ b/.github/workflows/releases_repo_build.yml @@ -3,6 +3,13 @@ name: Tag/Version Builds on: repository_dispatch: types: [ releases_repo_build ] + workflow_dispatch: + inputs: + head_sha: + type: string + default: master + description: The branch, tag or SHA to checkout + required: false jobs: # Build DEB Packages for APT Repository @@ -11,7 +18,7 @@ jobs: uses: ./.github/workflows/build_deb.yml secrets: inherit with: - head_sha: ${{ github.event.client_payload.head_sha }} + head_sha: ${{ github.event.client_payload.head_sha || inputs.head_sha }} upload: true # Build RPM Packages for DNF Repository @@ -20,7 +27,7 @@ jobs: uses: ./.github/workflows/build_rpm.yml secrets: inherit with: - head_sha: ${{ github.event.client_payload.head_sha }} + head_sha: ${{ github.event.client_payload.head_sha || inputs.head_sha }} upload: true # Publish RPM Packages to DNF Repository