github action directory basic detalis

Github action tends to place code into 2 levels, for example if you called your repository github-action-dotnet-build, it will be check out into github-action-dotnet-build/github-action-dotnet-build.

What if you have publish artifact which  you use in another stage, where are the code being downloaded into? 

It will be place in the same directory. For example if you publish an artifact and called it myartifact, when you download your artifact. It will be automatically extracted into the default folder. (GITHUB_WORKSPACE)

In this example here I download my artifact


Then you can see that it is being extracted automatically into GITHUB_WORKSPACE   if you do not specify the path. And notice that is unzip for you too. 







Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type