Update release-orchestrated.yml
This commit is contained in:
@@ -103,6 +103,7 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
git clone --depth 1 https://git.sabp.ir/sufi-chain/dev-ops-test.git .
|
||||
pwd
|
||||
echo "=== Workspace contents ==="
|
||||
ls -la
|
||||
|
||||
@@ -120,6 +121,14 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "=== Looking for project file ==="
|
||||
find . -name "DevOpsTest.csproj" -type f
|
||||
|
||||
if [ ! -f "DevOpsTest/DevOpsTest/DevOpsTest.csproj" ]; then
|
||||
echo "ERROR: DevOpsTest/DevOpsTest/DevOpsTest.csproj not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
tag="${RELEASE_TAG:-$REF_NAME}"
|
||||
tag="${tag#v}"
|
||||
dotnet publish DevOpsTest/DevOpsTest/DevOpsTest.csproj \
|
||||
|
||||
Reference in New Issue
Block a user