Run auth util but skip dotnet installation

Open
#345 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 7 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
github-actions, typescript
Domain
ci-cd, devops

Research direction

Start by reading the setup-dotnet action entry point and the workflow paths that install .NET and configure NuGet authentication. Trace how the dotnet-version: 'none' and global-json-file: 'ignore ./global.json' inputs are handled. Done means authentication can run in a container without installing an SDK, while normal installation behavior remains unchanged.

Written by the indexing model from the issue text.

Description

feature request

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

Dominant language
TypeScript
Stars
1.2k
Forks
579
Avg merge
6d 4h
Merged PRs (30d)
1

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from actions/setup-dotnet

All issues in actions/setup-dotnet

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.