Skip to content

Commit

Permalink
fix: warn if mount point is not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
easimon committed Nov 27, 2023
1 parent e4d1bbc commit 1d04872
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +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.' \;
echo "Removing unwanted software... "
if [[ ${{ inputs.remove-dotnet }} == 'true' ]]; then
Expand Down

0 comments on commit 1d04872

Please sign in to comment.