How to run .bat file in the repository #26690
-
I want to run a
Github keeps telling me that the “path is incorrect” or “no such file” or “premake.bat is not recognized as a name of …”, I thought |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
neo-mashiro:
The thing you’re missing here is that each job in your workflow gets a fresh VM, with a fresh filesystem, and thus a fresh (empty) workspace. Your The best solution for your workflow above is to put all the steps you currently have into one job. If you later find yourself in a situation where multiple jobs make more sense (e.g. one build job creates an artifact, and then other jobs test and deploy that artifact) check Passing data between jobs in a workflow. |
Beta Was this translation helpful? Give feedback.
The thing you’re missing here is that each job in your workflow gets a fresh VM, with a fresh filesystem, and thus a fresh (empty) workspace. Your
checkout
job retrieves the repository data and ends, then the runner VM is discarded, and with it the repository data. So each job that works with your repository data will need to contain anactions/checkout
step of its own.The best solution for your workflow above is to put all the…