From c5396a8ec818140a07de8c34659a58e1d728b260 Mon Sep 17 00:00:00 2001 From: Archi Date: Thu, 8 Feb 2024 12:43:42 +0100 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6f360e285..3c4e9efae 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -143,8 +143,17 @@ jobs: $ProgressPreference = 'SilentlyContinue' dotnet restore + + if ($LastExitCode -ne 0) { + throw "Last command failed." + } + dotnet build ArchiSteamFarm -c "$env:CONFIGURATION" -p:ContinuousIntegrationBuild=true -p:TargetLatestRuntimePatch=false -p:UseAppHost=false --nologo + if ($LastExitCode -ne 0) { + throw "Last command failed." + } + - name: Prepare ArchiSteamFarm.OfficialPlugins.SteamTokenDumper on Unix if: startsWith(matrix.os, 'macos-') || startsWith(matrix.os, 'ubuntu-') env: