Files
cuda-toolkit/action.yml
T
Jim Verheijde 7773776cb3 Update action description and readme
- Removed old note that network was not supported on Linux
- rename old subPackages reference to sub-packages
- Bump to 0.2.1
2021-03-24 11:26:01 +01:00

27 lines
1.3 KiB
YAML

name: 'cuda-toolkit'
description: 'Installs NVIDIA CUDA Toolkit and adds it to PATH'
author: 'Jim Verheijde'
inputs:
cuda:
description: 'Cuda version'
required: false
default: '11.2.2'
sub-packages:
description: 'Only installs specified subpackages, must be in the form of a JSON array. For example, if you only want to install nvcc and visual studio integration: ["nvcc", "visual_studio_integration"] double quotes required! Note that if you want to use this on Linux, ''network'' method MUST be used.'
required: false
default: '[]'
method:
description: "Installation method, can be either 'local' or 'network'. 'local' downloads the entire installer with all packages and runs that (you can still only install certain packages with sub-packages on Windows). 'network' downloads a smaller executable which only downloads necessary packages which you can define in subPackages"
required: false
default: 'local'
linux-local-args:
description: '(Linux and ''local'' method only) override arguments for the linux .run installer. For example if you don''t want samples use ["--toolkit"] double quotes required!'
required: false
default: '["--toolkit", "--samples"]'
runs:
using: 'node12'
main: dist/index.js
branding:
icon: box
color: green