From 13214ed06679df258513c6a1db848b15e7a8a646 Mon Sep 17 00:00:00 2001 From: Bertrand256 Date: Tue, 31 Oct 2023 16:54:25 +0100 Subject: [PATCH] Adding the 'draft' and 'prerelease' parameters to the GH build script. --- .github/workflows/build_release.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 05c380ad1..f48cbcd95 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -17,8 +17,16 @@ on: - Windows - macOS - Android -jobs: + prerelease: + description: "True to set 'Pre-Release' option" + required: true + type: boolean + draft: + description: "True to set 'Draft' option" + required: true + type: boolean +jobs: create_release: runs-on: ubuntu-22.04 name: Create github release @@ -43,8 +51,8 @@ jobs: with: tag_name: ${{ inputs.tag }} release_name: ${{ inputs.tag }} - draft: false - prerelease: false + draft: ${{ inputs.draft }} + prerelease: ${{ inputs.prerelease }} build_osx: needs: create_release