Skip to content

Commit

Permalink
Use sudo for mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidd6 authored and easimon committed Aug 13, 2023
1 parent 588fa33 commit 09ba4bd
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 @@ -176,7 +176,7 @@ runs:
sudo mkfs.ext4 -Enodiscard -m0 "/dev/mapper/${VG_NAME}-buildlv"
fi
if [[ ! -d "${BUILD_MOUNT_PATH}" ]]; then
mkdir -p "${BUILD_MOUNT_PATH}"
sudo mkdir -p "${BUILD_MOUNT_PATH}"
fi
sudo mount "/dev/mapper/${VG_NAME}-buildlv" "${BUILD_MOUNT_PATH}"
sudo chown -R "${{ inputs.build-mount-path-ownership }}" "${BUILD_MOUNT_PATH}"
Expand Down

0 comments on commit 09ba4bd

Please sign in to comment.