From 5fc4c385a5f76010ee760a599bf88bf0367bdfee Mon Sep 17 00:00:00 2001 From: Albin Vass Date: Mon, 8 Jul 2024 11:38:10 +0200 Subject: [PATCH] Fix dynamic node evaluation --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 97e3f5b..293c56f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,12 @@ jobs: - name: Output nodes id: nodes - run: echo "nodes=$(devenv shell get-enabled-nodes)" >> "$GITHUB_OUTPUT" + run: echo "nodes=$(devenv shell get-enabled-nodes)" 2>/dev/null | tr -d'\n' >> "$GITHUB_OUTPUT" + + - run: echo "$OUTPUTS" + shell: bash + env: + OUTPUTS: ${{ toJSON(steps."Output nodes".outputs) }} pulumi: needs: [ pre ]