How do I change where a GitHub Action runs? #38360
-
Today I created my first GitHub Action using a template for ASP.NET Core. It performs a build on the main branch, which at this point is all I'm interested in doing. However, it failed with a "MSB1003: Specify a project or solution file" error message in the
My question is which is most often done and how do I do it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Each The alternative is to set - run: your command here
working-directory: run/here/ You can also set a default working directory for all |
Beta Was this translation helpful? Give feedback.
Each
run
step gets a fresh shell, socd
only works if you do it within the same step.The alternative is to set
working-directory
for yourrun
step:You can also set a default working directory for all
run
steps in the job.