Skip to content

Commit 376cdad

Browse files
committed
ci: pwsh can't do [bool]"false"
1 parent 13512f8 commit 376cdad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,8 @@ jobs:
563563
- name: Run Merge, Pack, Test, and Publish Script
564564
shell: pwsh
565565
run: |
566-
$pushNuGet = [bool]"${{ github.event_name == 'release' && env.NUGET_UPLOAD_NUGET == 'true' }}"
567-
$pushGitHub = [bool]"${{ github.event_name == 'release' && env.NUGET_UPLOAD_GITHUB == 'true' }}"
566+
$pushNuGet = "${{ github.event_name == 'release' && env.NUGET_UPLOAD_NUGET == 'true' }}" -eq "true"
567+
$pushGitHub = "${{ github.event_name == 'release' && env.NUGET_UPLOAD_GITHUB == 'true' }}" -eq "true"
568568
# $deleteOnFail = $true # Handled by default in build-pipeline.ps1
569569
570570
$pipelineArgs = @{

0 commit comments

Comments
 (0)