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