Skip to content

Commit

Permalink
feat: show directory contents of build mount path if not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
easimon committed Nov 27, 2023
1 parent 03766a1 commit 62d379b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ runs:
# ensure mount path exists
mkdir -p "${BUILD_MOUNT_PATH}"
find "${BUILD_MOUNT_PATH}" -maxdepth 0 ! -empty -exec echo 'WARNING: directory [{}] is not empty, data loss might occur.' \;
find "${BUILD_MOUNT_PATH}" -maxdepth 0 ! -empty -exec echo 'WARNING: directory [{}] is not empty, data loss might occur. Content:' \; -exec ls -al "{}" \;
echo "Removing unwanted software... "
if [[ ${{ inputs.remove-dotnet }} == 'true' ]]; then
Expand Down

0 comments on commit 62d379b

Please sign in to comment.