Skip to content

Outputs are not propagated to next steps #10

@sir4ur0n

Description

@sir4ur0n

Describe the bug
Outputs are not propagated to next steps

To Reproduce

name: Whatever

on:
  workflow_dispatch:

jobs:
  whatever:
    runs-on: [self-hosted, nixos]
    steps:
      - uses: actions/checkout@v4

      - name: a
        id: a
        uses: tweag/run-nix-shell@v0
        with:
          pure: false
          run: |
            echo "foo_bar=what" >> "$GITHUB_OUTPUT"

      - name: b
        id: b
        run: |
          echo "${{ steps.a.outputs.foo_bar }}"

Expected behavior
what should be displayed in the Github Action logs.
If we do the same thing without tweag/run-nix-shell then it works as expected.

Environment

  • OS name + version: NixOS 24.05pre-git

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions