Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Story] Enforce using the same dotnet versions accross github workflows #1944

Open
1 task
ouphi opened this issue Oct 28, 2022 · 0 comments
Open
1 task

[Story] Enforce using the same dotnet versions accross github workflows #1944

ouphi opened this issue Oct 28, 2022 · 0 comments
Labels
story User Story

Comments

@ouphi
Copy link
Collaborator

ouphi commented Oct 28, 2022

Description

The dotnet version is setup several times in workflows with the following step:

    - uses: actions/setup-dotnet@v3.0.1
      with:
        dotnet-version: '6.0.x'

This story is about implementing a solution to avoid defining the dotnet version in different places in the github workflows.

Solution proposal

A solution would be to create a custom github action that set up the dotnet-version and reuse this action. This custom action would become the placeholder for the dotnet version.

Acceptance criteria

  • The dotnet version is only specified once in github actions.
@ouphi ouphi added the story User Story label Oct 28, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
story User Story
Projects
None yet
Development

No branches or pull requests

1 participant