Files
common/dotnet/dotnet-10/action.yaml
2025-07-07 20:58:04 -07:00

36 lines
1006 B
YAML

name: dotnet-10
description: "Run a dotnet command."
inputs:
command:
description: "Dotnet command to run."
required: false
program:
description: "Program to run instead of dotnet. Default: dotnet"
required: false
default: "dotnet"
catchErrors:
description: "Whether or not errors should be handled."
required: false
nugetSources:
description: "List of additional NuGet sources to use."
required: false
default: ""
nugetUsernames:
description: "List of additional NuGet usernames to use."
required: false
default: ""
nugetPasswords:
description: "List of additional NuGet passwords to use."
required: false
default: ""
runs:
env:
NUGET_SOURCES: ${{ inputs.nugetSources }}
NUGET_USERNAMES: ${{ inputs.nugetUsernames }}
NUGET_PASSWORDS: ${{ inputs.nugetPasswords }}
PROGRAM: ${{ inputs.program }}
CATCH_ERRORS: ${{ inputs.catchErrors }}
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.command }}