From 7aeebe286fe5175959075b641f356731dde9ca9c Mon Sep 17 00:00:00 2001 From: Bill Wagner Date: Thu, 20 Nov 2025 13:52:22 -0500 Subject: [PATCH] import options Import options into env. --- .github/workflows/dotnet-code-metrics.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-code-metrics.yml b/.github/workflows/dotnet-code-metrics.yml index 086f9834aff..f2c315dea72 100644 --- a/.github/workflows/dotnet-code-metrics.yml +++ b/.github/workflows/dotnet-code-metrics.yml @@ -27,7 +27,9 @@ jobs: - name: 'Print manual run reason' if: ${{ github.event_name == 'workflow_dispatch' }} run: | - echo 'Reason: ${{ github.event.inputs.reason }}' + echo 'Reason: $REASON' + env: + REASON: ${{ github.event.inputs.reason }} - name: .NET code metrics id: dotnet-code-metrics