Skip to content

Update sample code for Update-WtIntuneApp (#138) #229

Update sample code for Update-WtIntuneApp (#138)

Update sample code for Update-WtIntuneApp (#138) #229

Triggered via push November 29, 2024 21:06
Status Success
Total duration 1m 19s
Artifacts

build.yml

on: push
๐Ÿ› ๏ธ Build and Test C#
1m 6s
๐Ÿ› ๏ธ Build and Test C#
๐Ÿ› ๏ธ Build and Test PowerShell
1m 8s
๐Ÿ› ๏ธ Build and Test PowerShell
๐Ÿ’ค Wake api
5s
๐Ÿ’ค Wake api
๐Ÿ“ฆ Publish WinTuner to nuget
0s
๐Ÿ“ฆ Publish WinTuner to nuget
๐Ÿ“ฆ Publish WinTuner to PowerShell Gallery
0s
๐Ÿ“ฆ Publish WinTuner to PowerShell Gallery
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
๐Ÿ› ๏ธ Build and Test C#: src/Winget.CommunityRepository.Ef/WingetRepositoryWithEf.cs#L71
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/Winget.CommunityRepository.Ef/Winget.CommunityRepository.Ef.csproj::TargetFramework=net8.0]
๐Ÿ› ๏ธ Build and Test C#: src/Winget.CommunityRepository.Ef/WingetRepositoryWithEf.cs#L71
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/Winget.CommunityRepository.Ef/Winget.CommunityRepository.Ef.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test C#: src/WingetIntune/Internal/Msal/InteractiveAuthenticationProvider.cs#L95
The variable 'ex' is declared but never used [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test C#: src/WingetIntune/Implementations/DefaultFileManager.cs#L152
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test C#: src/WingetIntune/Intune/IntuneManager.cs#L721
'Use the constructor that takes an isCaeEnabled parameter instead.' [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test C#: src/WingetIntune/Implementations/DefaultFileManager.cs#L152
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net8.0]
๐Ÿ› ๏ธ Build and Test C#: src/WingetIntune/Internal/Msal/InteractiveAuthenticationProvider.cs#L95
The variable 'ex' is declared but never used [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net8.0]
๐Ÿ› ๏ธ Build and Test C#: src/WingetIntune/Intune/IntuneManager.cs#L721
'Use the constructor that takes an isCaeEnabled parameter instead.' [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net8.0]
๐Ÿ› ๏ธ Build and Test C#: src/Svrooij.WinTuner.CmdLets/Commands/DeployWtWin32App.cs#L250
Dereference of a possibly null reference. [/home/runner/work/WingetIntune/WingetIntune/src/Svrooij.WinTuner.CmdLets/Svrooij.WinTuner.CmdLets.csproj]
๐Ÿ› ๏ธ Build and Test C#: src/Svrooij.WinTuner.CmdLets/Commands/DeployWtWin32App.cs#L255
Possible null reference argument for parameter 'win32LobApp' in 'Task<Win32LobApp?> GraphAppUploader.CreateNewAppAsync(GraphServiceClient graphServiceClient, Win32LobApp win32LobApp, string intunePackageFile, string? logoPath = null, CancellationToken cancellationToken = default(CancellationToken))'. [/home/runner/work/WingetIntune/WingetIntune/src/Svrooij.WinTuner.CmdLets/Svrooij.WinTuner.CmdLets.csproj]
๐Ÿ› ๏ธ Build and Test PowerShell: src/WingetIntune/Implementations/DefaultFileManager.cs#L152
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test PowerShell: src/WingetIntune/Internal/Msal/InteractiveAuthenticationProvider.cs#L95
The variable 'ex' is declared but never used [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test PowerShell: src/WingetIntune/Intune/IntuneManager.cs#L721
'Use the constructor that takes an isCaeEnabled parameter instead.' [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test PowerShell: src/Svrooij.WinTuner.CmdLets/Commands/DeployWtWin32App.cs#L250
Dereference of a possibly null reference. [/home/runner/work/WingetIntune/WingetIntune/src/Svrooij.WinTuner.CmdLets/Svrooij.WinTuner.CmdLets.csproj]
๐Ÿ› ๏ธ Build and Test PowerShell: src/Svrooij.WinTuner.CmdLets/Commands/DeployWtWin32App.cs#L255
Possible null reference argument for parameter 'win32LobApp' in 'Task<Win32LobApp?> GraphAppUploader.CreateNewAppAsync(GraphServiceClient graphServiceClient, Win32LobApp win32LobApp, string intunePackageFile, string? logoPath = null, CancellationToken cancellationToken = default(CancellationToken))'. [/home/runner/work/WingetIntune/WingetIntune/src/Svrooij.WinTuner.CmdLets/Svrooij.WinTuner.CmdLets.csproj]
๐Ÿ› ๏ธ Build and Test PowerShell: src/WingetIntune/Implementations/DefaultFileManager.cs#L152
Possible null reference argument for parameter 'path' in 'DirectoryInfo Directory.CreateDirectory(string path)'. [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test PowerShell: src/WingetIntune/Internal/Msal/InteractiveAuthenticationProvider.cs#L95
The variable 'ex' is declared but never used [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test PowerShell: src/WingetIntune/Intune/IntuneManager.cs#L721
'Use the constructor that takes an isCaeEnabled parameter instead.' [/home/runner/work/WingetIntune/WingetIntune/src/WingetIntune/WingetIntune.csproj::TargetFramework=net6.0]
๐Ÿ› ๏ธ Build and Test PowerShell: src/Svrooij.WinTuner.CmdLets/Commands/DeployWtWin32App.cs#L250
Dereference of a possibly null reference. [/home/runner/work/WingetIntune/WingetIntune/src/Svrooij.WinTuner.CmdLets/Svrooij.WinTuner.CmdLets.csproj]
๐Ÿ› ๏ธ Build and Test PowerShell: src/Svrooij.WinTuner.CmdLets/Commands/DeployWtWin32App.cs#L255
Possible null reference argument for parameter 'win32LobApp' in 'Task<Win32LobApp?> GraphAppUploader.CreateNewAppAsync(GraphServiceClient graphServiceClient, Win32LobApp win32LobApp, string intunePackageFile, string? logoPath = null, CancellationToken cancellationToken = default(CancellationToken))'. [/home/runner/work/WingetIntune/WingetIntune/src/Svrooij.WinTuner.CmdLets/Svrooij.WinTuner.CmdLets.csproj]