Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Run auth util but skip dotnet installation #345

Open
sliekens opened this issue Nov 12, 2022 · 2 comments
Open

Run auth util but skip dotnet installation #345

sliekens opened this issue Nov 12, 2022 · 2 comments
Labels
feature request New feature or request to improve the current logic

Comments

@sliekens
Copy link

Description:
I would like to be able to run the auth util only and skip the dotnet installer.

- name: Configure GPR authentication
  uses: actions/setup-dotnet@v3
  env:
    NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
  with:
    source-url: https://nuget.pkg.github.com/sliekens/index.json
    dotnet-version: 'none'
    global-json-file: 'ignore ./global.json'

Justification:
I'm running jobs inside a container that already contains the exact SDK versions needed.

Are you willing to submit a PR?

It depends

@sliekens sliekens added feature request New feature or request to improve the current logic needs triage labels Nov 12, 2022
@IvanZosimov
Copy link
Contributor

Hi, @sliekens 👋
Thank you for your feature request. We will investigate it and come back to you with our decision about it :)

@sliekens
Copy link
Author

One more justification: Azure Pipelines has separate tasks for installing dotnet and for auth.
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/dotnet-core-tool-installer?view=azure-devops
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/package/nuget-authenticate?view=azure-devops

I imagine it can be difficult for someone to move from Az Pipelines to GH Actions when you only need NuGet Authenticate.

@IvanZosimov IvanZosimov self-assigned this Aug 31, 2023
@IvanZosimov IvanZosimov added investigation The issue is under investigation and removed needs eyes labels Aug 31, 2023
@IvanZosimov IvanZosimov removed the investigation The issue is under investigation label Oct 3, 2023
@IvanZosimov IvanZosimov removed their assignment Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

2 participants