Add more debug output: key-file, path input, expanded path, and archive path on save

This commit is contained in:
2026-05-22 02:17:05 +08:00
parent d869804b36
commit 985f68d26e
+5
View File
@@ -26,6 +26,11 @@ runs:
EXPANDED_PATH=$(eval echo "${{ inputs.path }}") EXPANDED_PATH=$(eval echo "${{ inputs.path }}")
echo "Key file: ${{ inputs.key-file }}"
echo "Path input: ${{ inputs.path }}"
echo "Expanded path: ${EXPANDED_PATH}"
echo "Archive path: ${ARCHIVE}"
if [ ! -d "$EXPANDED_PATH" ] || [ -z "$(ls -A "$EXPANDED_PATH" 2>/dev/null)" ]; then if [ ! -d "$EXPANDED_PATH" ] || [ -z "$(ls -A "$EXPANDED_PATH" 2>/dev/null)" ]; then
echo "Cache directory empty, skipping save" echo "Cache directory empty, skipping save"
exit 0 exit 0