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: