Quick question for you all, say I have two paths `...
# github-actions
a
Quick question for you all, say I have two paths
Copy code
on:
   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 so
m
I think you want this one:
Copy code
GITHUB_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:
Copy code
cd ${GITHUB_WORKSPACE}/X
a
Yeah workspaces + looking into matrix seems to help