Compare commits
2 Commits
2.0.2
...
eba4315e92
| Author | SHA1 | Date | |
|---|---|---|---|
| eba4315e92 | |||
| 815814e765 |
@@ -101,7 +101,11 @@ jobs:
|
||||
- name: Checkout
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
git clone --depth 1 https://git.sabp.ir/sufi-chain/dev-ops-test.git .
|
||||
pwd
|
||||
echo "=== Workspace contents ==="
|
||||
ls -la
|
||||
|
||||
- name: Build and push image
|
||||
shell: bash
|
||||
@@ -117,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