mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 18:55:30 +00:00
Fix version reporting.
This commit is contained in:
parent
bd28d4bdd2
commit
a191e661e6
|
@ -62,7 +62,7 @@ runs:
|
||||||
run: |
|
run: |
|
||||||
output=
|
output=
|
||||||
for package in ${{ inputs.packages }}; do
|
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
|
done
|
||||||
echo '::set-output name=package_version_list::output'
|
echo '::set-output name=package_version_list::output'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in a new issue