We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2596e1 commit e331642Copy full SHA for e331642
.github/workflows/dme-amdsmi-ci.yml
@@ -84,6 +84,10 @@ jobs:
84
run: |
85
PROJECT_DIR=$(find "$(pwd)" -maxdepth 3 -name "CMakeLists.txt" \
86
-path "*/amdsmi/*" -exec dirname {} \; | head -1)
87
+ if [ -z "$PROJECT_DIR" ]; then
88
+ echo "Error: AMDSMI project directory could not be found. Expected a CMakeLists.txt under an 'amdsmi' path within the repository." >&2
89
+ exit 1
90
+ fi
91
echo "AMDSMI_DIR=${PROJECT_DIR}" >> "$GITHUB_ENV"
92
echo "AMDSMI project: ${PROJECT_DIR}"
93
0 commit comments