From a40b675a586aa3b60fd3931d7544f8e6f6faa980 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Mon, 30 Sep 2024 03:57:45 +0900 Subject: [PATCH] Old raw string style in C# --- .github/workflows/windows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 589ec91f..45c6a59f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -39,12 +39,12 @@ defaults: # - https://github.com/actions/runner/blob/6d7446a45ebc638a842895d5742d6cf9afa3b66d/src/Runner.Worker/Handlers/ScriptHandlerHelpers.cs#L16-L17 # - https://github.com/actions/runner/blob/6d7446a45ebc638a842895d5742d6cf9afa3b66d/src/Runner.Worker/Handlers/ScriptHandlerHelpers.cs#L60-L65 shell: | - pwsh -Command """ + pwsh -Command @" $PSNativeCommandUseErrorActionPreference = $true; $ErrorActionPreference = 'stop'; . '{0}'; if ((Test-Path -LiteralPath variable:\LASTEXITCODE)) { exit $LASTEXITCODE } - """ + " jobs: inspect_runner: