spring process-aot plugin goal fails when running in github action due to my file appender
I’m trying to build a web application and compile it to a native image using github actions. My web application needs to log messages in a file when deployed somewhere and for that I have configured a file appender in logback. When running the build in github actions and when the spring boot maven plugin’s process-aot goal is running the goal fails with an error saying that log file /app/logs/app.log cannot be created as the directory doesn't exists
. I’ve configured the path using the spring boot property logging.file.name
Below is my relevant setup.