Skip to content

Commit 4d99e81

Browse files
committed
Syntax fix.
1 parent 2647dd9 commit 4d99e81

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish-packages.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ jobs:
9090
- name: Publish NuGets
9191
env:
9292
NUGET_TOKEN_EXISTS: ${{ secrets.NUGET_TOKEN != '' }}
93-
if: |
94-
(github.ref_type == 'tag' || inputs.tag) # Skip NuGet publish for scheduled nightly builds
95-
&& env.NUGET_TOKEN_EXISTS == 'true' # Skip NuGet publish if run on a fork without the secret
93+
if: (github.ref_type == 'tag' || inputs.tag) && env.NUGET_TOKEN_EXISTS == 'true' # Skip NuGet publish for scheduled nightly builds or if run on a fork without the secret
9694
run: |
9795
nuget push src\**\*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_TOKEN }} -SymbolApiKey ${{ secrets.NUGET_TOKEN }}
9896

0 commit comments

Comments
 (0)