Skip to content

Commit 7a57930

Browse files
committed
Update CI workflow conditions to use boolean values for input checks when publishing to GitHub Packages and during release steps.
1 parent de0846c commit 7a57930

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
@@ -550,7 +550,7 @@ jobs:
550550
name: Publish to GitHub Packages
551551
runs-on: ubuntu-latest
552552
needs: [build, unit-test, integration-test]
553-
if: ${{ inputs.ga == 'false' }}
553+
if: ${{ inputs.ga == false }}
554554
steps:
555555
- uses: actions/download-artifact@v4
556556
id: download
@@ -572,7 +572,7 @@ jobs:
572572
run: gpr push '${{ steps.download.outputs.download-path }}/nuget/*.nupkg' --repository ${{ github.repository }} -k ${{ secrets.GITHUB_TOKEN }}
573573

574574
release:
575-
if: ${{ inputs.ga == 'true' }}
575+
if: ${{ inputs.ga == true }}
576576
runs-on: ubuntu-latest
577577
needs: [calc-version, unit-test, docs, integration-test, analyze]
578578
env:

0 commit comments

Comments
 (0)