Make a boolean input

This commit is contained in:
Jesse Hills 2022-02-11 08:15:36 +13:00
parent 4f451fac6a
commit 44783e6a19
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -8,6 +8,7 @@ on:
required: true
beta:
description: Whether to release a beta version
type: boolean
required: false
default: false
@ -15,7 +16,7 @@ jobs:
deploy-community-addons:
runs-on: ubuntu-latest
steps:
- if: ${{ contains(github.event.inputs.version, 'b') || github.event.inputs.beta }}
- if: ${{ contains(github.event.inputs.version, 'b') || github.event.inputs.beta == 'true' }}
name: Publish beta release to community-addons repository
run: |
docker run --rm hassioaddons/repository-updater:latest \