diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index a3d28e49..256d43c4 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -40,7 +40,7 @@ jobs: shell: pwsh run: | $doc = [XML](Get-Content 'Source\Directory.Build.props') - echo "::set-output name=version::$($doc.Project.PropertyGroup.Version)" + echo "version=$($doc.Project.PropertyGroup.Version) >> $GITHUB_OUTPUT" - name: Install dependencies run: dotnet restore ReactiveProperty.sln - name: Build