ci(release/winget): correctly set output variable (#21077)

This commit is contained in:
Vedant 2022-11-17 14:13:45 +05:30 committed by dundargoc
parent 047eeb67ba
commit 08ebdeca37

View File

@ -265,7 +265,7 @@ jobs:
Invoke-WebRequest https://github.com/neovim/neovim/releases/download/nightly/nvim-win64.msi -OutFile setup.msi
Install-Module -Name 'Carbon.Windows.Installer' -Force
$VERSION = (Get-CMsi (Resolve-Path .\setup.msi).Path).ProductVersion
echo "version=$VERSION" >> $GITHUB_OUTPUT
"version=$VERSION" >> $env:GITHUB_OUTPUT
- if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name == 'nightly')
name: Publish nightly
uses: vedantmgoyal2009/winget-releaser@v1