mirror of
https://github.com/ludeeus/action-shellcheck.git
synced 2024-08-16 10:09:53 +02:00
Use "version" instead of "shellcheck_version" for the input (#50)
This commit is contained in:
parent
a1080136d9
commit
0ef4a19bfe
2 changed files with 3 additions and 3 deletions
|
@ -157,5 +157,5 @@ If running the latest stable version of Shellcheck is not to your liking, you ca
|
|||
- name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
with:
|
||||
shellcheck_version: v0.7.0
|
||||
version: v0.7.0
|
||||
```
|
||||
|
|
|
@ -30,7 +30,7 @@ inputs:
|
|||
description: "Output format (checkstyle, diff, gcc, json, json1, quiet, tty)"
|
||||
required: false
|
||||
default: "gcc"
|
||||
shellcheck_version:
|
||||
version:
|
||||
description: "Specify a concrete version of ShellCheck to use"
|
||||
required: false
|
||||
default: "stable"
|
||||
|
@ -64,7 +64,7 @@ runs:
|
|||
osvariant="linux"
|
||||
fi
|
||||
|
||||
scversion="${{ inputs.shellcheck_version }}"
|
||||
scversion="${{ inputs.version }}"
|
||||
baseurl="https://github.com/koalaman/shellcheck/releases/download"
|
||||
|
||||
curl -Lso "${{ github.action_path }}/sc.tar.xz" \
|
||||
|
|
Loading…
Reference in a new issue