Skip to content

Commit 13512f8

Browse files
committed
ci: pwsh can't compare true and "true", nor is true not a string. yay.
1 parent ec9261d commit 13512f8

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 = ${{ github.event_name == 'release' && env.NUGET_UPLOAD_NUGET == 'true' }} -eq 'true'
567-
$pushGitHub = ${{ github.event_name == 'release' && env.NUGET_UPLOAD_GITHUB == 'true' }} -eq 'true'
566+
$pushNuGet = [bool]"${{ github.event_name == 'release' && env.NUGET_UPLOAD_NUGET == 'true' }}"
567+
$pushGitHub = [bool]"${{ github.event_name == 'release' && env.NUGET_UPLOAD_GITHUB == 'true' }}"
568568
# $deleteOnFail = $true # Handled by default in build-pipeline.ps1
569569
570570
$pipelineArgs = @{

0 commit comments

Comments
 (0)