actions / actions/setup-dotnet

Run auth util but skip dotnet installation

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

Nobody has claimed this yet.

feature request
Dominant language
TypeScript
Stars
1.2k
Forks
572
Avg merge
12d 20h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.