mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-20 18:17:15 +00:00
Rollback accidental commit of new postinst feature.
This commit is contained in:
parent
4b708c1257
commit
0511abbea1
|
@ -44,7 +44,6 @@ runs:
|
||||||
${{ github.action_path }}/pre_cache_action.sh \
|
${{ github.action_path }}/pre_cache_action.sh \
|
||||||
~/cache-apt-pkgs \
|
~/cache-apt-pkgs \
|
||||||
"${{ inputs.version }}" \
|
"${{ inputs.version }}" \
|
||||||
"${{ inputs.execute_postinst }}" \
|
|
||||||
${{ inputs.packages }}
|
${{ inputs.packages }}
|
||||||
echo "CACHE_KEY=$(cat ~/cache-apt-pkgs/cache_key.md5)" >> $GITHUB_ENV
|
echo "CACHE_KEY=$(cat ~/cache-apt-pkgs/cache_key.md5)" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -61,7 +60,6 @@ runs:
|
||||||
~/cache-apt-pkgs \
|
~/cache-apt-pkgs \
|
||||||
/ \
|
/ \
|
||||||
"${{ steps.load-cache.outputs.cache-hit }}" \
|
"${{ steps.load-cache.outputs.cache-hit }}" \
|
||||||
"${{ inputs.execute_postinst }}" \
|
|
||||||
${{ inputs.packages }}
|
${{ inputs.packages }}
|
||||||
function create_list { local list=$(cat ~/cache-apt-pkgs/manifest_${1}.log | tr '\n' ','); echo ${list:0:-1}; };
|
function create_list { local list=$(cat ~/cache-apt-pkgs/manifest_${1}.log | tr '\n' ','); echo ${list:0:-1}; };
|
||||||
echo "name=package-version-list::$(create_list main)" >> $GITHUB_OUTPUT
|
echo "name=package-version-list::$(create_list main)" >> $GITHUB_OUTPUT
|
||||||
|
|
Loading…
Reference in a new issue