Skip to content

Commit

Permalink
More consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
harmless-tech committed Mar 6, 2023
1 parent 7ea6ccc commit fbbda6a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@

- version: Defaults to latest
- target: Defaults to current
- always-install: Defaults to false
- tools: Defaults to ''
- tools-target: Defaults to current
- always-install: Defaults to true

### Outputs

- version
- target
- tools-installed

### Usage

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inputs:
default: ''
tools-target:
description: 'Target for the version of the tools to install'
default: ''
default: current
always-install:
description: 'If the current installed version of cargo-prebuilt should be overridden'
default: 'true'
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async function run(): Promise<void> {
if (prebuiltTools !== '') {
const tools = prebuiltTools.split(',')
let target = prebuiltTarget
if (prebuiltToolsTarget !== '') target = prebuiltToolsTarget
if (prebuiltToolsTarget !== 'current') target = prebuiltToolsTarget

for (const tool of tools) {
const s = tool.split('@')
Expand Down

0 comments on commit fbbda6a

Please sign in to comment.