-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAddDotNetPackage.yaml
More file actions
39 lines (35 loc) · 1.07 KB
/
AddDotNetPackage.yaml
File metadata and controls
39 lines (35 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# AddDotNetPackage
#
# This SpdxTool workflow file adds a DotNet package entry to an SPDX
# document. The DotNet package information was attained from:
# - https://learn.microsoft.com/en-us/dotnet/core/tools/
# - https://github.com/dotnet/dotnet?tab=MIT-1-ov-file
#
# Parameters:
# - spdx # SPDX document file name
# - id # DotNet Package ID
# - version # DotNet Package version
#
# Outputs:
# none
parameters:
spdx: ''
version: ''
id: 'SPDXRef-Package-DotNet'
steps:
# Add the DotNet package
- command: add-package
inputs:
spdx: ${{ spdx }}
package:
id: ${{ id }}
name: .NET SDK
download: NOASSERTION
license: MIT
copyright: Copyright (c) .NET Foundation and Contributors
version: ${{ version }}
supplier: 'Organization: Microsoft Corporation'
originator: 'Organization: .NET Foundation'
homepage: https://dotnet.microsoft.com/
summary: Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI.
relationships: []