There was an error while loading. Please reload this page.
1 parent 36b2d30 commit 5d8ef09Copy full SHA for 5d8ef09
1 file changed
.github/actions/build-snap/action.yml
@@ -91,6 +91,8 @@ runs:
91
exit 1
92
fi
93
94
+ PROJECT_ROOT="$(realpath "${PROJECT_ROOT}")"
95
+
96
cd "${PROJECT_ROOT}"
97
98
IMAGE_INFO="{\"build_url\":\"https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}\"}"
@@ -141,6 +143,8 @@ runs:
141
143
*) PROJECT_ROOT="${GITHUB_WORKSPACE}/${INPUT_PATH}" ;;
142
144
esac
145
146
147
148
mapfile -t snaps < <(find "${PROJECT_ROOT}" -maxdepth 1 -type f -name '*.snap' -print | sort)
149
150
if [ "${#snaps[@]}" -eq 0 ]; then
0 commit comments