1
0
Fork 0
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:
Joakim Sørensen 2021-11-14 10:21:33 +01:00 committed by GitHub
parent a1080136d9
commit 0ef4a19bfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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
```

View file

@ -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" \