This commit is contained in:
@@ -32,6 +32,7 @@ jobs:
|
||||
run: |
|
||||
set -e
|
||||
mkdir -p ./publish-logs
|
||||
web_log="./publish-logs/publish-web.log"
|
||||
start=$(date +%s)
|
||||
# Web.Client needs a Release static-web-assets manifest for Web publish.
|
||||
# Build it explicitly so publish can reuse the prepared outputs.
|
||||
@@ -39,7 +40,7 @@ jobs:
|
||||
echo "--- Web.Client Release artifacts ---"
|
||||
ls -la src/TaxBaik.Web.Client/bin/Release/net10.0 || true
|
||||
ls -la src/TaxBaik.Web.Client/obj/Release/net10.0 || true
|
||||
dotnet publish src/TaxBaik.Web/ \
|
||||
if ! dotnet publish src/TaxBaik.Web/ \
|
||||
-c Release \
|
||||
-o ./publish \
|
||||
--no-restore \
|
||||
@@ -48,7 +49,11 @@ jobs:
|
||||
-p:PublishReadyToRun=false \
|
||||
-p:PerformanceSummary=true \
|
||||
-clp:Summary \
|
||||
-bl:./publish-logs/publish-web.binlog
|
||||
-bl:"./publish-logs/publish-web.binlog" >"$web_log" 2>&1; then
|
||||
echo "=== Publish Web failed; tailing log ==="
|
||||
tail -n 120 "$web_log" || true
|
||||
exit 1
|
||||
fi
|
||||
end=$(date +%s)
|
||||
echo "✓ Publish Web elapsed: $((end - start))s"
|
||||
ls -lh ./publish-logs/publish-web.binlog
|
||||
|
||||
Reference in New Issue
Block a user