Skip to content

Commit

Permalink
chore: source dev-env before nx affected
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter committed Feb 25, 2025
1 parent 7663ca6 commit 1ea79fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/setup-dev-container/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 1ea79fa

Please sign in to comment.