diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bed6b498f..6d3dd1db7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,7 @@ jobs: DOTNET_NOLOGO: 1 DOTNET_CLI_TELEMETRY_OPTOUT: 1 DOTNET_GENERATE_ASPNET_CERTIFICATE: 0 + BUILD_SIGN_RELEASE: '${{ vars.BUILD_SIGN_RELEASE }}' ContinuousIntegrationBuild: true RestoreLockedMode: true RepositoryBranch: '${{ github.ref_name }}' @@ -159,6 +160,7 @@ jobs: - name: Archive code signing certificate if: success() && matrix.configuration == 'Release' + id: certificate_artifact uses: actions/upload-artifact@v6 with: name: certificate @@ -167,9 +169,12 @@ jobs: - name: Release documentation if: matrix.configuration == 'Release' run: | + $certUrl = '${{ steps.certificate_artifact.outputs.artifact-url }}' 'To release the NuGet package, upload the signing certificate to NuGet Gallery via Account Settings: . ' >> $env:GITHUB_STEP_SUMMARY 'See the `certificate` artifact for the signing certificate file.' >> $env:GITHUB_STEP_SUMMARY '' >> $env:GITHUB_STEP_SUMMARY + 'Download the [certiticate file]($certUrl).' >> $env:GITHUB_STEP_SUMMARY + '' >> $env:GITHUB_STEP_SUMMARY 'Approve the `publish` job deployment to the `nuget-gallery` environment when the certificate was added to NuGet Gallery.' >> $env:GITHUB_STEP_SUMMARY publish: