Skip to content

Commit

Permalink
Merge pull request #169 from arunsathiya/master
Browse files Browse the repository at this point in the history
ci: Use GITHUB_OUTPUT envvar instead of set-output command
  • Loading branch information
jagilber authored Feb 7, 2024
2 parents 8b8b836 + 53870cc commit bff6583
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ jobs:
run: |
$nugetPackage = (get-item "$($env:release_path)\*.nupkg").FullName
$nugetPackageName = (get-item "$($env:release_path)\*.nupkg").Name
echo "::set-output name=nuget_package::$nugetPackage"
echo "::set-output name=nuget_package_name::$nugetPackageName"
echo "nuget_package=$nugetPackage" >> $env:GITHUB_OUTPUT
echo "nuget_package_name=$nugetPackageName" >> $env:GITHUB_OUTPUT
- name: prepare release asset
shell: powershell
id: prepare_release_asset
Expand All @@ -120,7 +120,7 @@ jobs:
compress-archive -path "$($env:release_path)_upload\*" -destinationPath "$($env:release_path)\$($env:project_name).zip" -force
$fileVersion = [io.fileinfo]::new("$($releaseFramework)\$($env:project_name).exe").VersionInfo.FileVersion
echo "::log-command parameter1=$fileVersion::fileVersion"
echo "::set-output name=file_version::v$fileVersion"
echo "file_version=v$fileVersion" >> $env:GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit bff6583

Please sign in to comment.