Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d2b43c1

Browse files
committed
ci: Test if == false fixes boolean
1 parent 4b73bdc commit d2b43c1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,9 @@ on:
2525
snapshot:
2626
description: Force a dev version to be generated, implies dry_run.
2727
type: boolean
28-
required: true
2928
default: false
3029
ignore_missing_commit_metadata:
3130
description: WARNING! This option disables the requirement that all commits have a PR. Not needed for dry_run.
32-
required: true
3331
type: boolean
3432
default: false
3533

@@ -48,7 +46,7 @@ jobs:
4846
name: Create and publish
4947
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-16-cores' || 'ubuntu-latest' }}
5048
env:
51-
CODER_RELEASE: ${{ !(github.event.inputs.snapshot) }}
49+
CODER_RELEASE: ${{ github.event.inputs.snapshot == false }}
5250
CODER_RELEASE_INCREMENT: ${{ github.event.inputs.increment }}
5351
CODER_RELEASE_DRAFT: ${{ github.event.inputs.draft }}
5452
CODER_DRY_RUN: ${{ github.event.inputs.dry_run || github.event.inputs.snapshot }}

0 commit comments

Comments
 (0)