Skip to content

Commit 2defef1

Browse files
committed
Remove default values for action inputs
1 parent 31ffd8d commit 2defef1

2 files changed

Lines changed: 5 additions & 20 deletions

File tree

action.yml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,16 @@ author: "TheBrowserCompany"
44

55
inputs:
66
version:
7-
description: "The version of Dashcam to install."
8-
default: "1.0.49" # See releases here: https://github.com/replayableio/replayable/releases
7+
description: "The version of Dashcam to install. See releases here: https://github.com/replayableio/replayable/releases"
98
required: true
109
node-version:
11-
description: "The version of Node.js to install."
12-
default: "16.20.2" # Must match the required version for cli see: https://github.com/replayableio/cli/blob/main/package.json
10+
description: "The version of Node.js to install. Must match the required version for cli see: https://github.com/replayableio/cli/blob/main/package.json"
1311
required: true
1412
node-directory:
1513
description: "The directory to install Node.js to."
16-
default: "C:\\nodejs16"
1714
required: true
1815
node-prefix:
1916
description: "The prefix to use for Node.js."
20-
default: "C:\\nodejs16\\npm-installs"
2117
required: true
2218

2319
runs:
@@ -29,16 +25,14 @@ runs:
2925
shell: pwsh
3026
run: |
3127
$env:PATH = "$env:GITHUB_ACTION_PATH\src\windows;$env:PATH"
32-
Write-Output "PATH: $env:PATH"
33-
Write-Output "Installing Dashcam GUI on ${{ runner.os }}"
34-
Write-Output "Install-DashcamGUI.ps1 -Version ${{ inputs.version }}"
28+
Write-Host "Installing Dashcam GUI on ${{ runner.os }}"
3529
Install-DashcamGUI.ps1 -Version ${{ inputs.version }}
3630
3731
- name: Install Node.js for Dashcam CLI (Windows)
3832
if: ${{ runner.os == 'Windows' }}
3933
shell: pwsh
4034
run: |
41-
Write-Output "Installing Node.js for Dashcam CLI on ${{ runner.os }}"
35+
Write-Host "Installing Node.js for Dashcam CLI on ${{ runner.os }}"
4236
4337
$env:PATH = "$env:GITHUB_ACTION_PATH\src\windows;$env:PATH"
4438
Install-NodeJS.ps1 -Version ${{ inputs.node-version }} -Directory ${{ inputs.node-directory }} -Prefix ${{ inputs.node-prefix }}
@@ -47,7 +41,7 @@ runs:
4741
if: ${{ runner.os == 'Windows' }}
4842
shell: pwsh
4943
run: |
50-
Write-Output "Installing Dashcam CLI on ${{ runner.os }}"
44+
Write-Host "Installing Dashcam CLI on ${{ runner.os }}"
5145
5246
$env:PATH = "$env:GITHUB_ACTION_PATH\src\windows;${{ inputs.node-directory }};${{ inputs.node-prefix }};$env:PATH"
5347
Install-DashcamCLI.ps1
@@ -101,14 +95,6 @@ runs:
10195
echo "Not supported yet"
10296
exit 1
10397
104-
- name: Install Dashcam CLI (Linux)
105-
if: ${{ runner.os == 'Linux' }}
106-
shell: bash
107-
run: |
108-
echo "Installing Dashcam CLI on ${{ runner.os }}"
109-
echo "Not supported yet"
110-
exit 1
111-
11298
branding:
11399
icon: "download"
114100
color: "green"

start/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ inputs:
1212
connection-timeout:
1313
description: "The timeout in seconds for the Dashcam GUI to be available from the CLI."
1414
required: true
15-
default: "20"
1615

1716
runs:
1817
using: "composite"

0 commit comments

Comments
 (0)