-
Notifications
You must be signed in to change notification settings - Fork 2
478 lines (412 loc) · 20.6 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
name: MAUI Release
on:
workflow_dispatch:
permissions:
id-token: write
contents: write
discussions: write
defaults:
run:
shell: pwsh
env:
CSPROJ_PATH: "src/XkcdViewer.Maui/XkcdViewer.Maui.csproj"
NUGETCONFIG_PATH: "src/nuget.config"
BUILD_CONFIG: Release
DOTNET_VERSION: "8.0.x"
MACOS_ARTIFACTS_PATH: "artifacts_macos"
IOS_ARTIFACTS_PATH: "artifacts_ios"
ANDROID_ARTIFACTS_PATH: "artifacts_android"
WINDOWS_ARTIFACTS_PATH: "artifacts_windows"
TELERIK_USERNAME: ${{secrets.MyTelerikAccountUsername}}
TELERIK_PASSWORD: ${{secrets.MyTelerikAccountPassword}}
jobs:
# ***************************************** #
# >>>>>>> Generate Common Resources <<<<<<< #
# ***************************************** #
shared-resources:
name: Create Shared Resources
runs-on: windows-2022
outputs:
app_version: ${{steps.version-creator.outputs.app_version}}
steps:
# Generates a version number using year.monthday.run_number.0 (e.g., 2024.824.1.0)
- name: Generate version number using date and run number
id: version-creator
run: |
$buildDay = Get-Date -Format "yyyy.Mdd"
$runNumber = "$env:GITHUB_RUN_NUMBER"
$ver = $buildDay + "." + $runNumber + ".0"
echo "app_version=$ver" >> $env:GITHUB_OUTPUT
# ********************************************* #
# >>>>>>> Windows Microsoft Store build <<<<<<< #
# ********************************************* #
maui-windows-msstore:
name: Build Windows MS Store
needs: shared-resources
runs-on: windows-2022
if: ${{ needs.shared-resources.outputs.app_version != ''}}
env:
RID: win10-x64
TFM: net8.0-windows10.0.19041.0
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{env.DOTNET_VERSION}}
# Needed only for WinUI builds
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.3.2
# The hosted runners do not have the maui workload installed by default, so we need to install it
- name: Install MAUI workloads (required for GitHub-hosted runners)
run: dotnet workload install maui --source https://api.nuget.org/v3/index.json
# Restore NuGet packages ahead of time because we want to use the dedicated nuget.config file
- name: Restore NuGet packages
run: dotnet restore ${{env.CSPROJ_PATH}} --configfile ${{env.NUGETCONFIG_PATH}}
# Update the manifest for Microsoft Store identity
- name: Update manifest for Microsoft Store build
run: |
[xml]$manifest = get-content 'src\XkcdViewer.Maui\Platforms\Windows\Package.appxmanifest'
$manifest.Package.Identity.Version = "${{needs.shared-resources.outputs.app_version}}"
$manifest.Package.Identity.Name = '61469LanceLotSoftware.XKCDComicViewer'
$manifest.Package.Identity.Publisher = 'CN=51B5A8B2-5D86-4826-BBE2-C92E963A4C02'
$manifest.Package.Properties.DisplayName = "xkcd Comic Viewer"
$manifest.Package.Properties.PublisherDisplayName = "Lancelot Software"
$manifest.Package.Applications.Application.VisualElements.DisplayName = "xkcd Viewer"
$manifest.save("src\XkcdViewer.Maui\Platforms\Windows\Package.appxmanifest")
# Compile and publish the WinUI x64 project for the Microsoft Store (no code signing)
- name: Build WinUI win10-x64
run: dotnet publish ${{env.CSPROJ_PATH}} -f "${{env.TFM}}" -p:RuntimeIdentifierOverride="win10-x64" -p:PublishTrimmed=False -p:GenerateAppxPackageOnBuild=true -p:AppxPackageSigningEnabled=false -p:EnableMsixTooling=true --self-contained=true
# Compile and publish the WinUI ARM64 project for the Microsoft Store (no code signing)
- name: Build WinUI win10-arm64
run: dotnet publish ${{env.CSPROJ_PATH}} -f "${{env.TFM}}" -p:RuntimeIdentifierOverride="win10-arm64" -p:PublishTrimmed=False -p:GenerateAppxPackageOnBuild=true -p:AppxPackageSigningEnabled=false -p:EnableMsixTooling=true --self-contained=true
# Find the msix file
- name: Generate msixbundle
id: generate-msixbundle
run: |
# 1. Add MakeAppx to the PATH
$sdkToolsPath = Join-Path -Path 'C:\Program Files (x86)\Windows Kits\10\bin' -ChildPath 10.0.19041.0 -AdditionalChildPath x86
$env:Path += ";$sdkToolsPath"
# 2. Create the artifacts folder
New-Item -Path . -Name ${{env.WINDOWS_ARTIFACTS_PATH}} -ItemType Directory
# 3. Find all msix files and copy them into the artifacts folder
Get-ChildItem -Filter XkcdViewer.Maui*.msix -Recurse | %{ Copy-Item $_.FullName -Destination ${{env.WINDOWS_ARTIFACTS_PATH}} }
# 4. Change directory to the artifacts folder
Set-Location ${{env.WINDOWS_ARTIFACTS_PATH}}
# 5. Create the msixbundle using all the msix files inside the artifacts folder
MakeAppx.exe bundle /bv "${{needs.shared-resources.outputs.app_version}}" /d . /p "XkcdViewer_v${{needs.shared-resources.outputs.app_version}}_x64_arm64_MsftStoreOnly.msixbundle"
# 6. Export the full path as an easy var
$msixBundlePath = "${{github.workspace}}\${{env.WINDOWS_ARTIFACTS_PATH}}\XkcdViewer_v${{needs.shared-resources.outputs.app_version}}_x64_arm64_MsftStoreOnly.msixbundle"
echo "msixbundle_path=$msixBundlePath" >> $env:GITHUB_OUTPUT
# Attaching the asset to workflow run
- name: Attach artifacts
uses: actions/upload-artifact@v4
with:
name: "XkcdViewer_v${{needs.shared-resources.outputs.app_version}}_MsftStoreOnly.msixbundle"
path: ${{steps.generate-msixbundle.outputs.msixbundle_path}}
if-no-files-found: error
retention-days: 30
# ************************************** #
# >>>>>>> Windows Sideload build <<<<<<< #
# ************************************** #
maui-windows-sideload:
name: Build Windows Sideload
needs: shared-resources
runs-on: windows-2022
if: ${{ needs.shared-resources.outputs.app_version != ''}}
strategy:
matrix:
RID: [win10-arm64, win10-x64]
env:
TFM: net8.0-windows10.0.19041.0
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{env.DOTNET_VERSION}}
# Needed only for WinUI builds
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.3.2
# The hosted runners do not have the maui workload installed by default, so we need to install it
- name: Install MAUI workloads (required for GitHub-hosted runners)
run: dotnet workload install maui --source https://api.nuget.org/v3/index.json
# Restore NuGet packages ahead of time because we want to use the dedicated nuget.config file
- name: Restore NuGet packages
run: dotnet restore ${{env.CSPROJ_PATH}} --configfile ${{env.NUGETCONFIG_PATH}}
# Update the app manifest using the sideload publisher identity
- name: Update manifest for side load build
run: |
[xml]$manifest = get-content "src\XkcdViewer.Maui\Platforms\Windows\Package.appxmanifest"
$manifest.Package.Identity.Version = "${{needs.shared-resources.outputs.app_version}}"
$manifest.Package.Identity.Name = "61469LanceLotSoftware.XKCDComicViewer"
$manifest.Package.Identity.Publisher = 'CN=" Lance McCarthy", O=" Lance McCarthy", L=Revere, S=Massachusetts, C=US'
$manifest.Package.Properties.DisplayName = "xkcd Comic Viewer"
$manifest.Package.Properties.PublisherDisplayName = "Lance McCarthy"
$manifest.Package.Applications.Application.VisualElements.DisplayName = "xkcd Viewer"
$manifest.save("src\XkcdViewer.Maui\Platforms\Windows\Package.appxmanifest")
- name: Build Maui WinUI project
run: dotnet publish ${{env.CSPROJ_PATH}} -f "${{env.TFM}}" -p:RuntimeIdentifierOverride=${{matrix.RID}} -p:PublishTrimmed=False -p:GenerateAppxPackageOnBuild=true -p:AppxPackageSigningEnabled=false -p:EnableMsixTooling=true --self-contained=true
- name: Process MSIX
id: process-msix-file
run: |
# 1. finds the correct msix file
$msixPath = Get-ChildItem -Filter XkcdViewer.Maui*.msix -Recurse | %{$_.FullName}
# 2. create the artifacts folder
New-Item -Path . -Name ${{env.WINDOWS_ARTIFACTS_PATH}} -ItemType Directory
# 3. Create the final msix path
$finalMsixPath = "${{github.workspace}}\${{env.WINDOWS_ARTIFACTS_PATH}}\XkcdViewer_v${{needs.shared-resources.outputs.app_version}}_${{matrix.RID}}.msix"
# 4. move the msix file to the artifacts folder and rename the file
Move-Item -Path $msixPath -Destination $finalMsixPath -Force
# 5. export the full path as an easy var
echo "PACKAGE_PATH=$finalMsixPath" >> $env:GITHUB_OUTPUT
- name: Attach artifacts to workflow run
uses: actions/upload-artifact@v4
with:
name: "XkcdViewer_v${{needs.shared-resources.outputs.app_version}}_${{matrix.RID}}.msix"
path: ${{steps.process-msix-file.outputs.PACKAGE_PATH}}
if-no-files-found: error
retention-days: 30
# ***************************** #
# >>>>>>> Android build <<<<<<< #
# ***************************** #
maui-android:
name: Build Android
needs: shared-resources
runs-on: windows-2022
if: ${{ needs.shared-resources.outputs.app_version != ''}}
env:
RID: android-arm64
TFM: net8.0-android
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{env.DOTNET_VERSION}}
- uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: '11'
- name: Install MAUI workloads (required for GitHub-hosted runners)
run: dotnet workload install maui --source https://api.nuget.org/v3/index.json
- name: Restore NuGet packages
run: dotnet restore ${{env.CSPROJ_PATH}} --configfile ${{env.NUGETCONFIG_PATH}}
- name: Build Maui Android project
run: dotnet build ${{env.CSPROJ_PATH}} -c Debug -f "${{env.TFM}}" -p:PublishTrimmed=False
# ! When you have a Google Play account and certificates, we can switch to this release setup
# # Decode keystore base64 secret into a local file
# - name: Decode the Keystore into File
# run: |
# $file_bytes = [System.Convert]::FromBase64String("${{secrets.ANDROID_SIGNING_KEYSTORE_BASE64}}")
# [IO.File]::WriteAllBytes("${{github.workspace}}/${{secrets.ANDROID_SIGNING_KEYSTORE_FILENAME}}", $file_bytes)
# # Docs https://learn.microsoft.com/en-us/dotnet/maui/android/deployment/publish-cli?view=net-maui-8.0
# - name: Build MAUI Android project
# run: dotnet publish ${{env.CSPROJ_PATH}} -c ${{env.BUILD_CONFIGURATION}} -f "${{env.TFM}}" -p:AndroidKeyStore=true -p:AndroidSigningKeyStore="${{github.workspace}}/${{secrets.ANDROID_SIGNING_KEYSTORE_FILENAME}}" -p:AndroidSigningStorePass="${{secrets.ANDROID_SIGNING_STORE_PASS}}" -p:AndroidSigningKeyAlias="${{secrets.ANDROID_SIGNING_KEY_ALIAS}}" -p:AndroidSigningKeyPass="${{secrets.ANDROID_SIGNING_KEY_PASS}}"
# # Upload the artifact the Action's result
# # To publish to the store, see https://github.com/marketplace/actions/upload-android-release-to-play-store
# - name: Upload Android AAB artifacts (better than APKs)
# uses: actions/upload-artifact@v4
# with:
# name: "Android Artifacts"
# path: "${{github.workspace}}/**/*Signed.aab"
# if-no-files-found: warn
# retention-days: 10
# ************************* #
# >>>>>>> iOS Build <<<<<<< #
# ************************* #
maui-ios:
name: Build iOS
needs: shared-resources
runs-on: macos-12
if: ${{ needs.shared-resources.outputs.app_version != ''}}
# Consider matrix for text flight and sideload
env:
RID: ios-arm64
TFM: net8.0-ios
CODESIGN_KEY: "Apple Distribution: Lancelot Software (L25222N3C7)"
CODESIGN_PROV_PROFILE: "xkcdviewer_ios_appstore"
CODESIGN_PROFILE_TYPE: "IOS_APP_STORE"
APP_ID: "com.LancelotSoftware.xkcdviewer"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
#- uses: maxim-lobanov/setup-xcode@v1
# with:
# xcode-version: latest
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{env.DOTNET_VERSION}}
- name: Install MAUI workloads (required for GitHub-hosted runners)
run: dotnet workload install maui --source https://api.nuget.org/v3/index.json
- name: Restore NuGet packages
run: dotnet restore ${{env.CSPROJ_PATH}} --configfile ${{env.NUGETCONFIG_PATH}}
- name: Build MAUI iOS project
run: dotnet build ${{env.CSPROJ_PATH}} -c Release -f "${{env.TFM}}" -p:PublishTrimmed=True -p:MtouchLink=SdkOnly
# ! When you have an apple account and certificates, we can switch to this release setup
# # Docs https://github.com/Apple-Actions/import-codesign-certs
# - name: Import Code-Signing Certificates
# uses: Apple-Actions/import-codesign-certs@v2
# with:
# p12-file-base64: "${{secrets.APPLE_DISTRIBUTION_CERT_BASE64}}"
# p12-password: "${{secrets.APPLE_DISTRIBUTION_CERT_PASSWORD}}"
# # Docs https://github.com/Apple-Actions/download-provisioning-profiles
# - uses: Apple-Actions/download-provisioning-profiles@v2
# with:
# profile-type: ${{env.APP_ID}}
# bundle-id: "${{env.CODESIGN_PROV_PROFILE}}"
# issuer-id: "${{secrets.APPSTORE_API_ISSUER_ID}}"
# api-key-id: "${{secrets.APPSTORE_API_KEY_ID}}"
# api-private-key: "${{secrets.APPSTORE_API_PRIVATE_KEY}}"
# # Docs https://learn.microsoft.com/en-us/dotnet/maui/ios/deployment/publish-cli?view=net-maui-8.0
# - name: Build MAUI iOS project
# run: |
# dotnet publish ${{env.CSPROJ_PATH}} -f "${{env.TFM}}" -p:RuntimeIdentifier=${{env.RID}} -p:PublishTrimmed=true -p:MtouchLink=SdkOnly -p:ApplicationId=${{env.APP_ID}} -p:CodesignProvision=${{env.CODESIGN_PROV_PROFILE}} -p:CodesignKey=${{env.CODESIGN_KEY}}
# # Docs https://github.com/Apple-Actions/upload-testflight-build
# - name: 'Upload app to TestFlight'
# uses: apple-actions/upload-testflight-build@v1
# with:
# app-path: "${{github.workspace}}/**/*.ipa"
# issuer-id: ${{secrets.APPSTORE_API_ISSUER_ID}}
# api-key-id: "${{secrets.APPSTORE_API_KEY_ID}}"
# api-private-key: "${{secrets.APPSTORE_API_PRIVATE_KEY}}"
# - name: Publish iOS build artifacts
# uses: actions/upload-artifact@v4
# with:
# name: "iOS artifacts"
# path: "*.app"
# if-no-files-found: warn
# retention-days: 30
# ********************************* #
# >>>>>>> MacCatalyst Build <<<<<<< #
# ********************************* #
maui-macos:
name: Build MacCatalyst
needs: shared-resources
runs-on: macos-12
if: ${{ needs.shared-resources.outputs.app_version != ''}}
strategy:
matrix:
RID: [maccatalyst-arm64, maccatalyst-x64]
# Consider matrix for text flight and sideload
env:
TFM: net8.0-maccatalyst
CODESIGN_KEY: "Apple Distribution: Lancelot Software (L25222N3C7)"
CODESIGN_PROV_PROFILE: "xkcdviewer_maccatalyst_appstore"
CODESIGN_PROFILE_TYPE: "MAC_APP_STORE"
CODESIGN_ENTITLEMENTS: "Platforms/MacCatalyst/Entitlements.plist"
APP_ID: "com.LancelotSoftware.xkcdviewer"
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# If the GitHub runner
#- uses: maxim-lobanov/setup-xcode@v1
# with:
# xcode-version: latest
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{env.DOTNET_VERSION}}
- name: Install MAUI workloads (required for GitHub-hosted runners)
run: dotnet workload install maui --source https://api.nuget.org/v3/index.json
- name: Restore NuGet packages
run: dotnet restore ${{env.CSPROJ_PATH}} --configfile ${{env.NUGETCONFIG_PATH}}
- name: Build MAUI MacCatalyst project
run: dotnet build ${{env.CSPROJ_PATH}} -c Release -f "${{env.TFM}}" -p:RuntimeIdentifier=${{matrix.RID}} -p:PublishTrimmed=true -p:MtouchLink=SdkOnly
# When you have an apple account and certificates, we can switch to this release setup
# # Docs https://github.com/Apple-Actions/import-codesign-certs
# - name: Import Code-Signing Certificates
# uses: Apple-Actions/import-codesign-certs@v2
# with:
# p12-file-base64: "${{secrets.APPLE_DISTRIBUTION_CERT_BASE64}}"
# p12-password: "${{secrets.APPLE_DISTRIBUTION_CERT_PASSWORD}}"
# # Docs https://github.com/Apple-Actions/download-provisioning-profiles
# - uses: Apple-Actions/download-provisioning-profiles@v2
# with:
# profile-type: ${{env.APP_ID}}
# bundle-id: "${{env.CODESIGN_PROV_PROFILE}}"
# issuer-id: "${{secrets.APPSTORE_API_ISSUER_ID}}"
# api-key-id: "${{secrets.APPSTORE_API_KEY_ID}}"
# api-private-key: "${{secrets.APPSTORE_API_PRIVATE_KEY}}"
# # Docs https://learn.microsoft.com/en-us/dotnet/maui/mac-catalyst/deployment/publish-app-store?view=net-maui-8.0 (carefully follow the intructions about entitlements.plist and info.plist)
# - name: Build MAUI MacCatalyst project
# run: |
# dotnet publish ${{env.CSPROJ_PATH}} -c ${{env.BUILD_CONFIGURATION}} -f "${{env.TFM}}" -p:RuntimeIdentifier=${{env.RID}} -p:EnableCodeSigning=true -p:EnablePackageSigning=true -p:PublishTrimmed=true -p:MtouchLink=SdkOnly -p:ApplicationId=${{env.APP_ID}} -p:CodesignProvision=${{env.CODESIGN_PROV_PROFILE}} -p:CodesignKey=${{env.CODESIGN_KEY}} -p:CodesignEntitlements=${{env.CODESIGN_ENTITLEMENTS}}
# WARNING ${{matrix.RID}} is in play, us if statement ${{matrix.RID}} == "testflight"
# # Docs https://github.com/Apple-Actions/upload-testflight-build
# - name: 'Upload app to TestFlight'
# uses: apple-actions/upload-testflight-build@v1
# with:
# app-path: "${{github.workspace}}/**/*.pkg"
# issuer-id: ${{secrets.APPSTORE_API_ISSUER_ID}}
# api-key-id: "${{secrets.APPSTORE_API_KEY_ID}}"
# api-private-key: "${{secrets.APPSTORE_API_PRIVATE_KEY}}"
# - name: Publish MacCatalyst build artifacts
# uses: actions/upload-artifact@v4
# with:
# name: "MacCatalyst artifacts"
# path: "*.pkg"
# if-no-files-found: warn
# retention-days: 30
# ************************************* #
# >>>>>>> Create GitHub Release <<<<<<< #
# ************************************* #
create-gh-release:
name: Codesign and Publish Release
if: ${{ success() }}
runs-on: windows-2022
needs: [shared-resources, maui-macos, maui-ios, maui-android, maui-windows-sideload, maui-windows-msstore]
steps:
- uses: actions/download-artifact@v4
# Login to Azure CLI. No secrets needed, uses the GitHub OIDC token to authenticate.
- name: Azure login using OIDC via GitHub
uses: azure/login@v2
id: azlogin
with:
client-id: "32daa13b-f4bb-4809-8ef6-58cb39051acd"
tenant-id: "bd47e796-3473-4b8a-9101-1f4c0c7af31a"
subscription-id: "48ab4839-62af-4ab3-afe6-043ea4d7c137"
- name: Sign files with Trusted Signing
uses: azure/trusted-signing-action@v0.4.0
with:
endpoint: https://eus.codesigning.azure.net/
trusted-signing-account-name: PrimaryCodeSign
certificate-profile-name: lancemccarthylivepublic
timestamp-rfc3161: http://timestamp.acs.microsoft.com
timestamp-digest: SHA256
file-digest: SHA256
files-folder: ${{github.workspace}}
files-folder-filter: msix
files-folder-depth: 3
exclude-azure-cli-credential: false
exclude-environment-credential: true
exclude-workload-identity-credential: true
exclude-managed-identity-credential: true
exclude-shared-token-cache-credential: true
exclude-visual-studio-credential: true
exclude-visual-studio-code-credential: true
exclude-azure-powershell-credential: true
exclude-azure-developer-cli-credential: true
exclude-interactive-browser-credential: true
- name: Release
uses: softprops/action-gh-release@v2
with:
name: "XkcdViewer v${{needs.shared-resources.outputs.app_version}}"
body: |
This is v${{needs.shared-resources.outputs.app_version}} of the xkcd viewer app built with .NET MAUI and Telerik UI for Maui. To install, use the appropriate installer file for your device.
files: ${{github.workspace}}/**/*
tag_name: "v${{needs.shared-resources.outputs.app_version}}"