diff --git a/.github/workflows/dotnet-build-and-release.yml b/.github/workflows/dotnet-build-and-release.yml index a91af56..f852a0b 100644 --- a/.github/workflows/dotnet-build-and-release.yml +++ b/.github/workflows/dotnet-build-and-release.yml @@ -103,13 +103,13 @@ jobs: $targetFrameworks = $csproj.Project.PropertyGroup.TargetFramework } echo "release_platforms: $targetFrameworks" - echo "release_platforms=$targetFrameworks" >> $GITHUB_OUTPUT + echo "release_platforms=$targetFrameworks" | Out-File $env:GITHUB_ENV -Encoding utf8 -Append - name: Archive Files if: success() && env.CREATE_RELEASE == 'True' shell: pwsh run: | - $platforms = "${{ steps.read_target_frameworks.outputs.release_platforms }}".Split(';') + $platforms = "${{ env.release_platforms }}".Split(';') $outputDir = "${{ github.workspace }}\zip\Keyfactor" md $outputDir foreach ($platform in $platforms) {