Set service container volumes in GitHub-hosted runner

I need to set volumes of Clickhouse-server container to initialize db with script file.
It was very easy in self-hosted runner, but I couldn’t find way to do same thing in GitHub-hosted runner.
Firstly, I created conf directory in .github and try to bind the file. But ${{ github.workspace }} contains only directories but not the file I want to bind.
Secondly, I made another job to turn the file contents into output of the job after checkout repository codes. But if also failed because GitHub automately skip output with this message in actions tab Skip output '~~' since it may contain secret.
I couldn’t find proper example workflow and docs about this situation. So please help me if anyone know how to do this. Thanks!