From 47a94f16e975129dec4c7d9dc4da3d866a7fb17a Mon Sep 17 00:00:00 2001 From: James Dawson Date: Mon, 18 Nov 2024 10:29:11 +0000 Subject: [PATCH] Fix ternary syntax --- actions/run-scripted-build/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/run-scripted-build/action.yml b/actions/run-scripted-build/action.yml index 38d3d00..865db42 100644 --- a/actions/run-scripted-build/action.yml +++ b/actions/run-scripted-build/action.yml @@ -118,7 +118,7 @@ runs: -Configuration ${{ inputs.configuration }} shell: pwsh env: - GH_TOKEN: ${{ env.GH_TOKEN != '' ? env.GH_TOKEN | github.token }} + GH_TOKEN: ${{ env.GH_TOKEN != '' && env.GH_TOKEN || github.token }} NUGET_PACKAGES: ${{ github.workspace }}/.nuget-packages - name: Save Cached Outputs