setup-dotnet/action.yml
leafkevin 668c50843e
Some checks failed
Check dist/ / Check dist/ (push) Has been cancelled
CodeQL analysis / CodeQL analysis (push) Has been cancelled
Basic validation / Basic validation (push) Has been cancelled
e2e tests / test-setup-multiple-versions (macos-13) (push) Has been cancelled
e2e tests / test-setup-multiple-versions (ubuntu-22.04) (push) Has been cancelled
e2e tests / test-setup-multiple-versions (windows-latest) (push) Has been cancelled
e2e tests / test-setup-multiple-versions-extended (macos-latest) (push) Has been cancelled
e2e tests / test-setup-multiple-versions-extended (ubuntu-latest) (push) Has been cancelled
e2e tests / test-setup-full-version (macos-13) (push) Has been cancelled
e2e tests / test-setup-full-version (ubuntu-22.04) (push) Has been cancelled
e2e tests / test-setup-full-version (windows-latest) (push) Has been cancelled
e2e tests / test-setup-full-version-extended (macos-latest) (push) Has been cancelled
e2e tests / test-setup-full-version-extended (ubuntu-latest) (push) Has been cancelled
e2e tests / test-setup-without-patch-version (macos-13) (push) Has been cancelled
e2e tests / test-setup-without-patch-version (ubuntu-22.04) (push) Has been cancelled
e2e tests / test-setup-without-patch-version (windows-latest) (push) Has been cancelled
e2e tests / test-setup-without-patch-version-extended (macos-latest) (push) Has been cancelled
e2e tests / test-setup-without-patch-version-extended (ubuntu-latest) (push) Has been cancelled
e2e tests / test-setup-prerelease-version (macos-13) (push) Has been cancelled
e2e tests / test-setup-prerelease-version (ubuntu-22.04) (push) Has been cancelled
e2e tests / test-setup-prerelease-version (windows-latest) (push) Has been cancelled
e2e tests / test-setup-prerelease-version-extended (macos-latest) (push) Has been cancelled
e2e tests / test-setup-prerelease-version-extended (ubuntu-latest) (push) Has been cancelled
e2e tests / test-setup-latest-patch-version (macos-13) (push) Has been cancelled
e2e tests / test-setup-latest-patch-version (ubuntu-22.04) (push) Has been cancelled
e2e tests / test-setup-latest-patch-version (windows-latest) (push) Has been cancelled
e2e tests / test-setup-latest-patch-version-extended (macos-latest) (push) Has been cancelled
e2e tests / test-setup-latest-patch-version-extended (ubuntu-latest) (push) Has been cancelled
e2e tests / test-ABCxx-syntax (macos-13) (push) Has been cancelled
e2e tests / test-ABCxx-syntax (macos-latest) (push) Has been cancelled
e2e tests / test-ABCxx-syntax (ubuntu-latest) (push) Has been cancelled
e2e tests / test-ABCxx-syntax (windows-latest) (push) Has been cancelled
e2e tests / test-setup-with-wildcard (macos-13) (push) Has been cancelled
e2e tests / test-setup-with-wildcard (ubuntu-22.04) (push) Has been cancelled
e2e tests / test-setup-with-wildcard (windows-latest) (push) Has been cancelled
e2e tests / test-setup-with-wildcard-extended (macos-latest) (push) Has been cancelled
e2e tests / test-setup-with-wildcard-extended (ubuntu-latest) (push) Has been cancelled
e2e tests / test-setup-global-json-specified-and-version (macos-13) (push) Has been cancelled
e2e tests / test-setup-global-json-specified-and-version (ubuntu-22.04) (push) Has been cancelled
e2e tests / test-setup-global-json-specified-and-version (windows-latest) (push) Has been cancelled
e2e tests / test-setup-global-json-specified-and-version-extended (macos-latest) (push) Has been cancelled
e2e tests / test-setup-global-json-specified-and-version-extended (ubuntu-latest) (push) Has been cancelled
e2e tests / test-setup-global-json-only (macos-13) (push) Has been cancelled
e2e tests / test-setup-global-json-only (ubuntu-22.04) (push) Has been cancelled
e2e tests / test-setup-global-json-only (windows-latest) (push) Has been cancelled
e2e tests / test-setup-global-json-only-extended (macos-latest) (push) Has been cancelled
e2e tests / test-setup-global-json-only-extended (ubuntu-latest) (push) Has been cancelled
e2e tests / test-global-json-with-comments (macos-13) (push) Has been cancelled
e2e tests / test-global-json-with-comments (ubuntu-22.04) (push) Has been cancelled
e2e tests / test-global-json-with-comments (windows-latest) (push) Has been cancelled
e2e tests / test-global-json-with-comments-extended (macos-latest) (push) Has been cancelled
e2e tests / test-global-json-with-comments-extended (ubuntu-latest) (push) Has been cancelled
e2e tests / test-setup-with-dotnet-quality (macos-13) (push) Has been cancelled
e2e tests / test-setup-with-dotnet-quality (macos-latest) (push) Has been cancelled
e2e tests / test-setup-with-dotnet-quality (ubuntu-latest) (push) Has been cancelled
e2e tests / test-setup-with-dotnet-quality (windows-latest) (push) Has been cancelled
e2e tests / test-setup-with-cache (macos-13) (push) Has been cancelled
e2e tests / test-setup-with-cache (ubuntu-22.04) (push) Has been cancelled
e2e tests / test-setup-with-cache (windows-latest) (push) Has been cancelled
e2e tests / test-setup-with-cache-extended (macos-latest) (push) Has been cancelled
e2e tests / test-setup-with-cache-extended (ubuntu-latest) (push) Has been cancelled
e2e tests / test-setup-with-cache-dependency-path (macos-13) (push) Has been cancelled
e2e tests / test-bypass-proxy-extended (push) Has been cancelled
e2e tests / test-setup-with-cache-dependency-path (ubuntu-22.04) (push) Has been cancelled
e2e tests / test-setup-with-cache-dependency-path (windows-latest) (push) Has been cancelled
e2e tests / test-setup-with-cache-dependency-path-extended (macos-latest) (push) Has been cancelled
e2e tests / test-setup-with-cache-dependency-path-extended (ubuntu-latest) (push) Has been cancelled
Validate dotnet / setup-version (2.2, ubuntu-22.04) (push) Has been cancelled
e2e tests / test-dotnet-version-output-during-single-version-installation (macos-13) (push) Has been cancelled
e2e tests / test-dotnet-version-output-during-single-version-installation (macos-latest) (push) Has been cancelled
e2e tests / test-dotnet-version-output-during-single-version-installation (ubuntu-latest) (push) Has been cancelled
e2e tests / test-dotnet-version-output-during-single-version-installation (windows-latest) (push) Has been cancelled
e2e tests / test-dotnet-version-output-during-multiple-version-installation (macos-13) (push) Has been cancelled
e2e tests / test-dotnet-version-output-during-multiple-version-installation (macos-latest) (push) Has been cancelled
e2e tests / test-dotnet-version-output-during-multiple-version-installation (ubuntu-latest) (push) Has been cancelled
e2e tests / test-dotnet-version-output-during-multiple-version-installation (windows-latest) (push) Has been cancelled
e2e tests / test-proxy (push) Has been cancelled
e2e tests / test-bypass-proxy (push) Has been cancelled
e2e tests / test-sequential-version-installation (7.0.203, 3.1.426, macos-13) (push) Has been cancelled
e2e tests / test-sequential-version-installation (7.0.203, 3.1.426, ubuntu-22.04) (push) Has been cancelled
e2e tests / test-sequential-version-installation (7.0.203, 3.1.426, windows-latest) (push) Has been cancelled
e2e tests / test-sequential-version-installation-extended (8.0.403, 6.0.425, macos-latest) (push) Has been cancelled
e2e tests / test-sequential-version-installation-extended (8.0.403, 6.0.425, ubuntu-latest) (push) Has been cancelled
Licensed / Licensed (push) Has been cancelled
Validate dotnet / setup-version (2.1, macos-13) (push) Has been cancelled
Validate dotnet / setup-version (2.1, ubuntu-22.04) (push) Has been cancelled
Validate dotnet / setup-version (2.1, windows-latest) (push) Has been cancelled
Validate dotnet / setup-version (2.2, macos-13) (push) Has been cancelled
Validate dotnet / setup-version (2.2, windows-latest) (push) Has been cancelled
Validate dotnet / setup-version (3.0, macos-13) (push) Has been cancelled
Validate dotnet / setup-version (3.0, ubuntu-22.04) (push) Has been cancelled
Validate dotnet / setup-version (3.0, windows-latest) (push) Has been cancelled
Validate dotnet / setup-version (3.1, macos-13) (push) Has been cancelled
Validate dotnet / setup-version (3.1, ubuntu-22.04) (push) Has been cancelled
Validate dotnet / setup-version (3.1, windows-latest) (push) Has been cancelled
Validate dotnet / setup-version (5.0, macos-13) (push) Has been cancelled
Validate dotnet / setup-version (5.0, ubuntu-22.04) (push) Has been cancelled
Validate dotnet / setup-version (5.0, windows-latest) (push) Has been cancelled
Validate dotnet / setup-version (6.0, macos-13) (push) Has been cancelled
Validate dotnet / setup-version (6.0, macos-latest) (push) Has been cancelled
Validate dotnet / setup-version (6.0, ubuntu-22.04) (push) Has been cancelled
Validate dotnet / setup-version (6.0, ubuntu-latest) (push) Has been cancelled
Validate dotnet / setup-version (6.0, windows-latest) (push) Has been cancelled
Validate dotnet / setup-version (7.0, macos-13) (push) Has been cancelled
Validate dotnet / setup-version (7.0, macos-latest) (push) Has been cancelled
Validate dotnet / setup-version (7.0, ubuntu-22.04) (push) Has been cancelled
Validate dotnet / setup-version (7.0, ubuntu-latest) (push) Has been cancelled
Validate dotnet / setup-version (7.0, windows-latest) (push) Has been cancelled
Validate dotnet / setup-version (8.0, macos-13) (push) Has been cancelled
Validate dotnet / setup-version (8.0, macos-latest) (push) Has been cancelled
Validate dotnet / setup-version (8.0, ubuntu-22.04) (push) Has been cancelled
Validate dotnet / setup-version (8.0, ubuntu-latest) (push) Has been cancelled
Validate dotnet / setup-version (8.0, windows-latest) (push) Has been cancelled
Update configuration files / Update configuration files (push) Has been cancelled
新建仓库
2025-05-10 18:32:50 +08:00

37 lines
1.9 KiB
YAML

name: 'Setup .NET Core SDK'
description: 'Used to build and publish .NET source. Set up a specific version of the .NET and authentication to private NuGet repository'
author: 'GitHub'
branding:
icon: play
color: green
inputs:
dotnet-version:
description: 'Optional SDK version(s) to use. If not provided, will install global.json version when available. Examples: 2.2.104, 3.1, 3.1.x, 3.x, 6.0.2xx'
dotnet-quality:
description: 'Optional quality of the build. The possible values are: daily, signed, validated, preview, ga.'
global-json-file:
description: 'Optional global.json location, if your global.json isn''t located in the root of the repo.'
source-url:
description: 'Optional package source for which to set up authentication. Will consult any existing NuGet.config in the root of the repo and provide a temporary NuGet.config using the NUGET_AUTH_TOKEN environment variable as a ClearTextPassword'
owner:
description: 'Optional OWNER for using packages from GitHub Package Registry organizations/users other than the current repository''s owner. Only used if a GPR URL is also provided in source-url'
config-file:
description: 'Optional NuGet.config location, if your NuGet.config isn''t located in the root of the repo.'
cache:
description: 'Optional input to enable caching of the NuGet global-packages folder'
required: false
default: false
cache-dependency-path:
description: 'Used to specify the path to a dependency file: packages.lock.json. Supports wildcards or a list of file names for caching multiple dependencies.'
required: false
outputs:
cache-hit:
description: 'A boolean value to indicate if a cache was hit.'
dotnet-version:
description: 'Contains the installed by action .NET SDK version for reuse.'
runs:
using: 'node20'
main: 'dist/setup/index.js'
post: 'dist/cache-save/index.js'
post-if: success()