Skip to content

Output variables are not recognized when shell command grouping is used #94

Description

@aglowienka

What happened?
Whenever a step uses a shell command grouping and redirects the group block to $GITHUB_OUTPUT, variables inside the group are not recognized

How can we reproduce the issue?
use this yaml:

name: grouping bug
on:
  workflow_dispatch:

jobs:
  grouping-bug:
    runs-on: ubuntu-latest
    steps:
      - name: Prepare outputs
        id: prepare
        run: |
          echo "output1=value1" >> "${GITHUB_OUTPUT}"

          {
            echo "output2=value2"
            echo "output3=value3"
          } >> "${GITHUB_OUTPUT}"


      - name: Print outputs
        run: |
          echo "Output 1: ${{ steps.prepare.outputs.output1 }}"
          echo "Output 2: ${{ steps.prepare.outputs.output2 }}"
          echo "Output 3: ${{ steps.prepare.outputs.output3 }}"

Relevant log output

N/A

Operating System

MacOS 26.4

Plugin Version

2026.6.20

IDE Name and Version

PhpStorm 2026.1.3

Expected behavior
The output vars should be recognized in the same way as the inline ones.

Screenshots
Image

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions