Skip to content

Trouble with dotnet build v5.0.x on Windows #10171

Closed

Description

I have two dotnet yaml files that runs on the same project for Ubuntu and Windows.

Seems like if I on Windows-latest use dotnet-version: 5.0.x, the GitHub action fails (v5.0.202 installs)

If I manually add v5.0.201 , all works.

Windows-latest Yaml file:
https://github.com/pownas/asp-net-yaml-yml-build-tester/blob/main/.github/workflows/dotnet-Windows.yml

Output for v5.0.201 (✅ success) :
https://github.com/pownas/asp-net-yaml-yml-build-tester/runs/2283532272?check_suite_focus=true

Output for v5.0.x (❌ fail with v5.0.202):
https://github.com/pownas/asp-net-yaml-yml-build-tester/runs/2283517744?check_suite_focus=true

All seemed to work on this run (6 days ago):
https://github.com/pownas/asp-net-yaml-yml-build-tester/runs/2240101210?check_suite_focus=true

File then:
https://github.com/pownas/asp-net-yaml-yml-build-tester/blob/992f67f870d6676beff3f3cd49a57a1668ed3369/.github/workflows/dotnet.yml

All Done since then is a change of slash in path from back \ to front / , and a dotnet version update.

Don't know if a lot of other persons get this error. But I just want to give you a heads up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions