From a191e661e6948a4cb584df207db0731430c755a9 Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Thu, 21 Oct 2021 16:05:02 -0700 Subject: [PATCH] Fix version reporting. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index f17fb02..999ccb7 100644 --- a/action.yml +++ b/action.yml @@ -62,7 +62,7 @@ runs: run: | output= for package in ${{ inputs.packages }}; do - output=$output,$package:$(dpkg -s xdot | grep Version | awk '{print $2}') + output=$output,$package:$(dpkg -s $package | grep Version | awk '{print $2}') done echo '::set-output name=package_version_list::output' shell: bash