Skip to content

Commit

Permalink
[DO NOT MERGE] wix update
Browse files Browse the repository at this point in the history
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
  • Loading branch information
lsm5 committed Apr 17, 2024
1 parent 9697a5f commit 8196428
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/upload-win-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ jobs:
- name: Consolidate dryrun setting to always be true or false
id: actual_dryrun
run: |
Write-Output "dryrun=true" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
# The 'release' trigger will not have a 'dryrun' input set. Handle
# this case in a readable/maintainable way.
$inputs_dryrun = "${{ inputs.dryrun }}"
if ($inputs_dryrun.Length -lt 1) {
Write-Output "dryrun=false" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
} else {
Write-Output "dryrun=${{ inputs.dryrun }}" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
}
#$inputs_dryrun = "${{ inputs.dryrun }}"
#if ($inputs_dryrun.Length -lt 1) {
# Write-Output "dryrun=false" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
#} else {
# Write-Output "dryrun=${{ inputs.dryrun }}" | Out-File -FilePath $env:GITHUB_OUTPUT -Append
#}
- name: Dry Run Status
run: |
Write-Output "::notice::This workflow execution will be a dry-run: ${{ steps.actual_dryrun.outputs.dryrun }}"
Expand Down

0 comments on commit 8196428

Please sign in to comment.