diff --git a/.github/actions/setup-dev-container/action.yml b/.github/actions/setup-dev-container/action.yml index aaacc5e22..1769ce398 100644 --- a/.github/actions/setup-dev-container/action.yml +++ b/.github/actions/setup-dev-container/action.yml @@ -88,7 +88,8 @@ runs: id: get-affected-projects shell: bash run: | - AFFECTED_PROJECTS=$(devcontainer exec --workspace-folder ../sage-monorepo bash -c "nx show projects --affected --sep ','") + AFFECTED_PROJECTS=$(devcontainer exec --workspace-folder ../sage-monorepo bash -c " + . ./dev-env.sh && nx show projects --affected --sep ','") echo "Affected projects: $AFFECTED_PROJECTS" echo "affected_projects=$AFFECTED_PROJECTS" >> $GITHUB_ENV echo "::set-output name=affected_projects::$AFFECTED_PROJECTS"