Skip to content

Commit b9859ef

Browse files
trying different via github var.
1 parent 09067bb commit b9859ef

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/cicd-3-deploy.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ on:
2121
description: "Install specific version"
2222

2323
run-name: >-
24-
${{ inputs.include_prereleases != null && inputs.version != null
24+
${{ (inputs.include_prereleases != null
25+
&& inputs.version != null
2526
&& format('Triggered Manually. Include prerelease: {0} Version: {1} By: @{2}',
2627
inputs.include_prereleases,
2728
inputs.version,
28-
github.actor)
29-
|| format('Triggered by {0} ({1)}). Include prerelease: true Version: latest By: @{3}',
30-
context.payload.workflow_run.name,
31-
context.payload.workflow_run.id,
29+
github.actor))
30+
|| format('Triggered by {0} ({1)}). Include prerelease: true Version: latest By: @{2}',
31+
github.event.workflow_run.name,
32+
github.event.workflow_run.id,
3233
github.actor) }}
3334
3435
permissions:

0 commit comments

Comments
 (0)