Aumkar Prajapati
06/08/2022, 7:37 PMon:
push:
paths:
X
Y
Is there any specific variables that actually contain the folder path that actually triggers the “on push” call in Github Actions? Say I want it to build a specific application in folder X and need to navigate this monorepo to actually do somanagedkaos
06/11/2022, 5:01 AMGITHUB_WORKSPACE The default working directory on the runner for steps, and the default location of your repository when using the checkout action. For example, /home/runner/work/my-repo-name/my-repo-name.
So if you want to build on X, you can checkout the code and do:
cd ${GITHUB_WORKSPACE}/XAumkar Prajapati
06/14/2022, 12:57 PM