Skip to content

Commit de0846c

Browse files
committed
Update CI workflow condition for publishing to GitHub Packages to check input parameter instead of branch reference
1 parent b0c5caf commit de0846c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
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: ${{ ! ( github.event.inputs.nuget ) && ! ( contains(github.ref, 'refs/heads/main') ) }}
553+
if: ${{ inputs.ga == 'false' }}
554554
steps:
555555
- uses: actions/download-artifact@v4
556556
id: download

0 commit comments

Comments
 (0)