Skip to content

Commit

Permalink
Skip restore if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Mar 26, 2024
1 parent 0dda5a9 commit ab7f120
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ jobs:
variantArgs="-r $VARIANT"
fi
dotnet restore $variantArgs
dotnet build ArchiSteamFarm -c "$CONFIGURATION" "-p:ASFVariant=${VARIANT}" -p:ContinuousIntegrationBuild=true --nologo $variantArgs
- name: Prepare for publishing on Windows
Expand All @@ -160,12 +159,6 @@ jobs:
$variantArgs = '-r', "$env:VARIANT"
}
dotnet restore $variantArgs
if ($LastExitCode -ne 0) {
throw "Last command failed."
}
dotnet build ArchiSteamFarm -c "$env:CONFIGURATION" "-p:ASFVariant=$env:VARIANT" -p:ContinuousIntegrationBuild=true --nologo $variantArgs
if ($LastExitCode -ne 0) {
Expand Down

0 comments on commit ab7f120

Please sign in to comment.