Skip to content

Commit 9a0e662

Browse files
committed
Update dotnet-build.yml
1 parent 7185853 commit 9a0e662

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/dotnet-build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ jobs:
9292

9393
- name: Set NuGet Version to Tag Number
9494
if: startsWith(github.ref, 'refs/tags/')
95-
run: echo "NugetPackageVersion=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
95+
run: |
96+
echo "Setting NuGet version from tag: ${GITHUB_REF#refs/tags/}"
97+
echo "NugetPackageVersion=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
9698
9799
- name: Set NuGet Version to PR Version
98100
if: ${{ github.event_name == 'pull_request' }}
@@ -151,7 +153,7 @@ jobs:
151153
shell: bash
152154

153155
- name: Build and Pack CommunityToolkit.Maui.Markup
154-
run: dotnet pack -c Release ${{ env.PathToCommunityToolkitCsproj }} -p:PackageVersion=${{ env.NugetPackageVersion }} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
156+
run: dotnet pack -c Release ${{ env.PathToCommunityToolkitCsproj }} -p:PackageVersion=$NugetPackageVersion -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
155157

156158
- name: 'Check Dependencies'
157159
if: ${{ runner.os == 'Windows' && (success() || failure()) }}
@@ -228,8 +230,8 @@ jobs:
228230
--file-list "${{ github.workspace }}/SignClientFileList.txt"
229231
--timestamp-url "http://timestamp.digicert.com"
230232
--publisher-name ".NET Foundation"
231-
--description "Community Toolkit MAUI"
232-
--description-url "https://github.com/CommunityToolkit/Maui"
233+
--description ".NET MAUI Markup Community Toolkit"
234+
--description-url "https://github.com/CommunityToolkit/Maui.Markup"
233235
--azure-key-vault-url "${{ secrets.SIGN_KEY_VAULT_URL }}"
234236
--azure-key-vault-client-id ${{ secrets.SIGN_CLIENT_ID }}
235237
--azure-key-vault-client-secret "${{ secrets.SIGN_CLIENT_SECRET }}"

0 commit comments

Comments
 (0)