mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-20 18:17:15 +00:00
Update deprecated option.
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This commit is contained in:
parent
86a813eaa1
commit
4b708c1257
|
@ -44,6 +44,7 @@ runs:
|
|||
${{ github.action_path }}/pre_cache_action.sh \
|
||||
~/cache-apt-pkgs \
|
||||
"${{ inputs.version }}" \
|
||||
"${{ inputs.execute_postinst }}" \
|
||||
${{ inputs.packages }}
|
||||
echo "CACHE_KEY=$(cat ~/cache-apt-pkgs/cache_key.md5)" >> $GITHUB_ENV
|
||||
shell: bash
|
||||
|
@ -63,6 +64,6 @@ runs:
|
|||
"${{ inputs.execute_postinst }}" \
|
||||
${{ inputs.packages }}
|
||||
function create_list { local list=$(cat ~/cache-apt-pkgs/manifest_${1}.log | tr '\n' ','); echo ${list:0:-1}; };
|
||||
echo "::set-output name=package-version-list::$(create_list main)"
|
||||
echo "::set-output name=all-package-version-list::$(create_list all)"
|
||||
echo "name=package-version-list::$(create_list main)" >> $GITHUB_OUTPUT
|
||||
echo "name=all-package-version-list::$(create_list all)" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue