Skip to content

Commit

Permalink
Fix warnings about use of deprecated set-output function
Browse files Browse the repository at this point in the history
  • Loading branch information
datalogics-saharay committed Mar 13, 2024
1 parent 815fe08 commit e11c732
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-dotnet-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e11c732

Please sign in to comment.