Add more debug output: key-file, path input, expanded path, and archive path on save
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user