Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update action version to 0.2.15 #337

Merged
merged 6 commits into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
${{ runner.os }}-node-

- name: Install npm dependencies
run: npm i
run: npm ci

- name: Build
run: npm run build
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This action installs the [NVIDIA® CUDA® Toolkit](https://developer.nvidia.com/

**Optional** The CUDA version to install. View `src/link/windows-links.ts` and `src/link/linux-links.ts` for available versions.

Default: `'12.3.2'`.
Default: `'12.4.1'`.

### `sub-packages`

Expand Down Expand Up @@ -62,10 +62,10 @@ The path where cuda is installed (same as `CUDA_PATH` in `GITHUB_ENV`).

```yaml
steps:
- uses: Jimver/[email protected].14
- uses: Jimver/[email protected].15
id: cuda-toolkit
with:
cuda: '12.3.2'
cuda: '12.4.1'

- run: echo "Installed cuda version is: ${{steps.cuda-toolkit.outputs.cuda}}"

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
cuda:
description: 'Cuda version'
required: false
default: '12.3.2'
default: '12.4.1'
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
Expand Down
43,181 changes: 25,936 additions & 17,245 deletions dist/index.js

Large diffs are not rendered by default.

197 changes: 192 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cuda-toolkit",
"version": "0.2.14",
"version": "0.2.15",
"description": "GitHub Action to install the NVIDIA CUDA Toolkit",
"main": "lib/main.js",
"scripts": {
Expand Down Expand Up @@ -28,18 +28,19 @@
"license": "MIT",
"dependencies": {
"@actions/artifact": "^2.1.5",
"@actions/cache": "^3.2.4",
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/glob": "^0.4.0",
"@actions/tool-cache": "^2.0.1",
"@actions/cache": "^3.2.4",
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.1",
"@types/semver": "^7.5.8",
"semver": "^7.6.0"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"@vercel/ncc": "^0.38.1",
"eslint": "^8.56.0",
Expand Down
4 changes: 3 additions & 1 deletion src/downloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ export async function download(
core.debug(`Tool was moved to cache directory ${cacheDirectory}`)
executableDirectory = cacheDirectory
}
executableDirectory = downloadDirectory
if (executableDirectory === undefined) {
executableDirectory = downloadDirectory
}
}
core.debug(`Executable path ${executableDirectory}`)
// String with full executable path
Expand Down
Loading