Skip to content

Commit

Permalink
Adding the 'draft' and 'prerelease' parameters to the GH build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertrand256 committed Oct 31, 2023
1 parent f69a12d commit 13214ed
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 13214ed

Please sign in to comment.