Skip to content

Fixed release.yml type #124

Fixed release.yml type

Fixed release.yml type #124

Triggered via push February 27, 2025 23:49
Status Failure
Total duration 10m 37s
Artifacts 3

release.yml

on: push
Build Installer & Draft Release
2m 46s
Build Installer & Draft Release
Publish Release
6s
Publish Release
Push to Chocolatey & Winget
48s
Push to Chocolatey & Winget
Push to Nuget
0s
Push to Nuget
Fit to window
Zoom out
Zoom in

Deployment protection rules

Reviewers, timers, and other rules protecting deployments in this run
Event Environments Comment
gerardog
approved Feb 27, 2025
release-github-publish

Annotations

4 errors and 37 warnings
Push to Chocolatey & Winget
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
docs / deploy
Error: Failed to create deployment (status: 404) with build version da92fbfba810c1f46e1b32993abcd0802df3ee44. Ensure GitHub Pages has been enabled: https://github.com/gerardog/gsudo/settings/pages
docs / deploy
HttpError: Cannot find any run with github.run_id 13578138471. at processRuntimeResponse (/home/runner/work/_actions/actions/deploy-pages/v1/webpack:/deploy-pages/src/api-client.js:48:1) at processTicksAndRejections (node:internal/process/task_queues:95:5) at getSignedArtifactUrl (/home/runner/work/_actions/actions/deploy-pages/v1/webpack:/deploy-pages/src/api-client.js:82:1) at Deployment.create (/home/runner/work/_actions/actions/deploy-pages/v1/webpack:/deploy-pages/src/deployment.js:53:1) at main (/home/runner/work/_actions/actions/deploy-pages/v1/webpack:/deploy-pages/src/index.js:30:1)
docs / deploy
Getting signed artifact URL failed
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build / Test: src/gsudo/Helpers/UACWindowFocusHelper.cs#L35
FocusUacWindow calls SetForegroundWindow but does not use the HRESULT or error code that the method returns. This could lead to unexpected behavior in error conditions or low-resource situations. Use the result in a conditional statement, assign the result to a variable, or pass it as an argument to another method. (https://docs.microsoft.com/visualstudio/code-quality/ca1806-do-not-ignore-method-results)
build / Test: src/gsudo/Helpers/UACWindowFocusHelper.cs#L10
Specify marshaling for P/Invoke string arguments (https://docs.microsoft.com/visualstudio/code-quality/ca2101-specify-marshaling-for-p-invoke-string-arguments)
build / Test: src/gsudo/Commands/ServiceCommand.cs#L64
Consider calling ConfigureAwait on the awaited task (https://docs.microsoft.com/visualstudio/code-quality/ca2007-do-not-directly-await-task)
build / Test: src/gsudo/Commands/StatusCommand.cs#L99
In method 'GetJsonValue', replace the call to 'ToLowerInvariant' with 'ToUpperInvariant'. (https://docs.microsoft.com/visualstudio/code-quality/ca1308-normalize-strings-to-uppercase)
build / Test: src/gsudo/AppSettings/PathPrecedenceSetting.cs#L60
Specify marshaling for P/Invoke string arguments (https://docs.microsoft.com/visualstudio/code-quality/ca2101-specify-marshaling-for-p-invoke-string-arguments)
build / Test: src/gsudo/InputParameters.cs#L32
The property name 'IntegrityLevel' is confusing given the existence of method 'GetIntegrityLevel'. Rename or remove one of these members. (https://docs.microsoft.com/visualstudio/code-quality/ca1721-property-names-should-not-match-get-methods)
build / Test: src/gsudo/ProcessHosts/AttachedConsoleHost.cs#L38
The variable 'ex' is declared but never used
build / Test: src/gsudo/ProcessRenderers/TokenSwitchRenderer.cs#L64
The variable 'ex' is declared but never used
build / Test: src/gsudo/Helpers/ServiceHelper.cs#L53
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build / Test: src/gsudo/Tokens/TokenProvider.cs#L122
Unreachable code detected
build / Build: src/gsudo/Helpers/SymbolicLinkSupport.cs#L13
The field 'SymbolicLinkSupport.RealRoot' is never used
build / Build: src/gsudo/ProcessHosts/AttachedConsoleHost.cs#L38
The variable 'ex' is declared but never used
build / Build: src/gsudo/ProcessRenderers/TokenSwitchRenderer.cs#L64
The variable 'ex' is declared but never used
build / Build: src/gsudo/Helpers/ServiceHelper.cs#L53
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build / Build: src/gsudo/Tokens/TokenProvider.cs#L122
Unreachable code detected
build / Build: src/gsudo/Native/ProcessApi.cs#L188
'Cer' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
build / Build: src/gsudo/Native/ProcessApi.cs#L188
'Consistency' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
build / Build: src/gsudo/Native/ProcessApi.cs#L188
'ReliabilityContractAttribute' is obsolete: 'The Constrained Execution Region (CER) feature is not supported.' (https://aka.ms/dotnet-warnings/SYSLIB0004)
build / Build: src/gsudo/Native/ProcessApi.cs#L177
'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
build / Build: src/gsudo/Native/ProcessApi.cs#L177
'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
Build Installer & Draft Release
Unexpected input(s) 'make_latest', valid inputs are ['allowUpdates', 'artifactErrorsFailBuild', 'artifact', 'artifacts', 'artifactContentType', 'body', 'bodyFile', 'commit', 'discussionCategory', 'draft', 'generateReleaseNotes', 'makeLatest', 'name', 'omitBody', 'omitBodyDuringUpdate', 'omitDraftDuringUpdate', 'omitName', 'omitNameDuringUpdate', 'omitPrereleaseDuringUpdate', 'owner', 'prerelease', 'removeArtifacts', 'replacesArtifacts', 'repo', 'skipIfReleaseExists', 'tag', 'token', 'updateOnlyUnreleased']
Build Installer & Draft Release
.NET 7.0 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.

Artifacts

Produced during runtime
Name Size
Binaries
18.2 MB
Installer
4.94 MB
github-pages Expired
1.4 MB