mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 15:14:41 +00:00
parent
70694a84b8
commit
07a91a7274
3 changed files with 0 additions and 22 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -77,12 +77,6 @@ jobs:
|
||||||
local variantArgs="/p:UseAppHost=false"
|
local variantArgs="/p:UseAppHost=false"
|
||||||
else
|
else
|
||||||
local variantArgs="-r $1 /p:PublishTrimmed=true"
|
local variantArgs="-r $1 /p:PublishTrimmed=true"
|
||||||
|
|
||||||
# TODO: https://github.com/dotnet/sdk/issues/4022
|
|
||||||
case "$1" in
|
|
||||||
'win-'*) ;;
|
|
||||||
*) local variantArgs="$variantArgs /p:PublishSingleFile=true" ;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o "out/${1}" --no-restore --nologo "/p:ASFVariant=$1" $variantArgs
|
dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o "out/${1}" --no-restore --nologo "/p:ASFVariant=$1" $variantArgs
|
||||||
|
@ -141,11 +135,6 @@ jobs:
|
||||||
$variantArgs = '/p:UseAppHost=false'
|
$variantArgs = '/p:UseAppHost=false'
|
||||||
} else {
|
} else {
|
||||||
$variantArgs = '-r', "$variant", '/p:PublishTrimmed=true'
|
$variantArgs = '-r', "$variant", '/p:PublishTrimmed=true'
|
||||||
|
|
||||||
# TODO: https://github.com/dotnet/sdk/issues/4022
|
|
||||||
if ($variant -NotLike 'win-*') {
|
|
||||||
$variantArgs += '/p:PublishSingleFile=true'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dotnet publish ArchiSteamFarm -c "$env:CONFIGURATION" -f "$targetFramework" -o "out\$variant" --no-restore --nologo "/p:ASFVariant=$variant" $variantArgs
|
dotnet publish ArchiSteamFarm -c "$env:CONFIGURATION" -f "$targetFramework" -o "out\$variant" --no-restore --nologo "/p:ASFVariant=$variant" $variantArgs
|
||||||
|
|
|
@ -40,12 +40,6 @@ script:
|
||||||
local variantArgs="/p:UseAppHost=false"
|
local variantArgs="/p:UseAppHost=false"
|
||||||
else
|
else
|
||||||
local variantArgs="-r $1 /p:PublishTrimmed=true"
|
local variantArgs="-r $1 /p:PublishTrimmed=true"
|
||||||
|
|
||||||
# TODO: https://github.com/dotnet/sdk/issues/4022
|
|
||||||
case "$1" in
|
|
||||||
'win-'*) ;;
|
|
||||||
*) local variantArgs="$variantArgs /p:PublishSingleFile=true" ;;
|
|
||||||
esac
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o "out/${1}" --no-restore --nologo "/p:ASFVariant=$1" $variantArgs
|
dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o "out/${1}" --no-restore --nologo "/p:ASFVariant=$1" $variantArgs
|
||||||
|
|
|
@ -157,11 +157,6 @@ after_test:
|
||||||
$variantArgs = '/p:UseAppHost=false'
|
$variantArgs = '/p:UseAppHost=false'
|
||||||
} else {
|
} else {
|
||||||
$variantArgs = '-r', "$variant", '/p:PublishTrimmed=true'
|
$variantArgs = '-r', "$variant", '/p:PublishTrimmed=true'
|
||||||
|
|
||||||
# TODO: https://github.com/dotnet/sdk/issues/4022
|
|
||||||
if ($variant -NotLike 'win-*') {
|
|
||||||
$variantArgs += '/p:PublishSingleFile=true'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dotnet publish ArchiSteamFarm -c "$env:CONFIGURATION" -f "$targetFramework" -o "out\$variant" --no-restore --nologo "/p:ASFVariant=$variant" $variantArgs
|
dotnet publish ArchiSteamFarm -c "$env:CONFIGURATION" -f "$targetFramework" -o "out\$variant" --no-restore --nologo "/p:ASFVariant=$variant" $variantArgs
|
||||||
|
|
Loading…
Reference in a new issue