From a1d1823ee8a7894950cf647ff6ff9db8d686cb68 Mon Sep 17 00:00:00 2001 From: Sahara Yousuf Date: Wed, 13 Mar 2024 10:21:24 -0500 Subject: [PATCH] Fix warnings about use of deprecated set-output function --- .github/workflows/test-dotnet-samples.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-dotnet-samples.yml b/.github/workflows/test-dotnet-samples.yml index 04989ed..233a0fa 100644 --- a/.github/workflows/test-dotnet-samples.yml +++ b/.github/workflows/test-dotnet-samples.yml @@ -159,16 +159,16 @@ jobs: echo "Not available on this os" fi fi - - name: Set output variable + - name: Set sample_name variable id: set-sample-name working-directory: ${{matrix.dir}} run: | sample_name=$(basename "$PWD") - echo "::set-output name=sample_name::$sample_name" + echo "sample_name=$sample_name" >> "$GITHUB_ENV" - name: Save artifacts uses: actions/upload-artifact@v4 with: - name: output-${{ runner.os }}-${{ steps.set-sample-name.outputs.sample_name }} + name: output-${{ runner.os }}-"$sample_name" path: | ${{matrix.dir}}*.docx ${{matrix.dir}}*.xslx