ci: add proxy build precheck and publish logs
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m43s
TaxBaik CI/CD / build-and-deploy (push) Failing after 2m43s
This commit is contained in:
@@ -56,11 +56,13 @@ jobs:
|
||||
# Proxy is not part of the solution restore graph, so restore it once
|
||||
# here before publishing to avoid NETSDK1004 in CI.
|
||||
dotnet restore src/TaxBaik.Proxy/
|
||||
dotnet build src/TaxBaik.Proxy/TaxBaik.Proxy.csproj -c Release --no-restore
|
||||
start=$(date +%s)
|
||||
dotnet publish src/TaxBaik.Proxy/ \
|
||||
-c Release \
|
||||
-o ./publish/proxy \
|
||||
--no-restore \
|
||||
--no-build \
|
||||
-p:PublishReadyToRun=false \
|
||||
-p:PerformanceSummary=true \
|
||||
-clp:Summary \
|
||||
@@ -69,6 +71,12 @@ jobs:
|
||||
echo "✓ Publish Proxy elapsed: $((end - start))s"
|
||||
ls -lh ./publish-logs/publish-proxy.binlog
|
||||
|
||||
- name: Upload publish logs
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: publish-logs
|
||||
path: ./publish-logs/
|
||||
|
||||
- name: Write production secrets
|
||||
run: |
|
||||
set -e
|
||||
|
||||
Reference in New Issue
Block a user