[Github Actions] platformio file has not been found

I try to test my platformio via github actions. With travis it seems to work fine:

Via github actions, I get the following error:

Error: Not a PlatformIO project. platformio.ini file has not been found in current working directory (/home/runner/work/Marlin/Marlin/platformio.ini). To initialize new project please use platformio init command

Can anybody help me to resolve this? Do I need to change the working directory?

Thank you very much!

If anyone has the same issue, I missed the 

- uses: actions/checkout@master

step, so there was no source code

1 Like