From 0ef4a19bfe18d3c75c4325a399e8d02963061fa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sun, 14 Nov 2021 10:21:33 +0100 Subject: [PATCH] Use "version" instead of "shellcheck_version" for the input (#50) --- README.md | 2 +- action.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0bbf660..e0545e4 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/action.yaml b/action.yaml index 34d014e..2852c93 100644 --- a/action.yaml +++ b/action.yaml @@ -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" \