You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our deployment action stopped working 5 days ago (Feb 27).
It seems like we're not able to read any arguments passed from the terminal to our program when running it from github actions (was windows-2022, I tryed updating to windows-2025 with no luck)
I created a minimal project to reproduce the issue. Sadly I cannot share the original repo.
But this is how is failing the action in the original repo
And as you can see is the same error reported in the CI of the public repo I linked.
Of course the project works on local machines.
Let me know if I can give more help or info in order to help debugging the problem.
Our project should receive the passed arguments and run as before
In the last image you can see the line "Will build Leonardo for environment Staging", where "Leonardo" and "Staging" are passed as arguments from the dotnet run ...\Project --environment... command
Actual behavior
It's failing with the following error:
ERROR(S):
Required option 'e, environment' is missing.
-f, --flavor Required. Which flavor of the artifact should be
created by the setup
-e, --environment Required. Whether the final installed artifact
should point to staging or production apis, and
whether the final artifact should be uploaded to
staging or production backoffice
-v, --version Required. The sem-ver of the artifact. Will also be
appended to the setup filename
-d, --include-database [DEPRECATED] This option is specific for Leonardo
flavor, drives whether or not the setup should
contain the database
-r, --release-notes Required. The release note description.
--help Display this help screen.
--version Display version information.
Unhandled exception. System.Exception: [DEV] could not parse arguments
at Program.<Main>$(String[] args) in D:\a\euroformulations-deployer\euroformulations-deployer\EuroformulationsDeployer\Program.cs:line 22
at Program.<Main>(String[] args)
kuamanet
changed the title
Broken github action after latest updates
Windows Runner - Not able to read arguments from command line after latest updates
Mar 4, 2025
Hi @kuamanet Image has been deployed with the latest version 20250302.1 could you please try again .
Hi @RaviAkshintala , are you sure of the number of the latest version? I just tried to spin again my github action, this is the version that gets used:
Description
Our deployment action stopped working 5 days ago (Feb 27).
It seems like we're not able to read any arguments passed from the terminal to our program when running it from github actions (was windows-2022, I tryed updating to windows-2025 with no luck)
I created a minimal project to reproduce the issue. Sadly I cannot share the original repo.
But this is how is failing the action in the original repo
And as you can see is the same error reported in the CI of the public repo I linked.
Of course the project works on local machines.
Let me know if I can give more help or info in order to help debugging the problem.
Platforms affected
Runner images affected
Image version and build link
https://github.com/kuamanet/test-github-action-windows-2025/actions/runs/13650970414/job/38159190546
Is it regression?
Yes it is, our CD was working with windows-2022
Expected behavior
Our project should receive the passed arguments and run as before
In the last image you can see the line "Will build Leonardo for environment Staging", where "Leonardo" and "Staging" are passed as arguments from the
dotnet run ...\Project --environment...
commandActual behavior
It's failing with the following error:
Repro steps
Just try and launch the action at https://github.com/kuamanet/test-github-action-windows-2025/actions/workflows/debug.yml
The text was updated successfully, but these errors were encountered: