We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cf90a8 commit 381fdfbCopy full SHA for 381fdfb
.github/workflows/release.yml
@@ -8,7 +8,6 @@ on:
8
required: true
9
following_version:
10
description: "The post (dev) version to set"
11
- required: true
12
dry_run:
13
description: "Dry Run?"
14
default: false
@@ -23,7 +22,9 @@ env:
23
22
SILK_ASSET_GROUP: motor
24
EVERGREEN_PROJECT: motor
25
# Constant
26
- DRY_RUN: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run || 'true' }}
+ # inputs will be empty on a scheduled run. so, we only set dry_run
+ # to 'false' when the input is set to 'false'.
27
+ DRY_RUN: ${{ ! contains(inputs.dry_run, 'false') }}
28
FOLLOWING_VERSION: ${{ inputs.following_version || '' }}
29
VERSION: ${{ inputs.version || '10.10.10.10' }}
30
0 commit comments