diff --git a/.github/workflows/test-dotnet-samples.yml b/.github/workflows/test-dotnet-samples.yml index 04989ed..97e6982 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