mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 23:38:57 -04:00
fix pkgcheck-checks-on-pr: The set-output
command is deprecated
This commit is contained in:
parent
406b16ec1c
commit
ce212d9317
8
.github/workflows/pkgcheck-checks-on-pr.yml
vendored
8
.github/workflows/pkgcheck-checks-on-pr.yml
vendored
@ -59,7 +59,7 @@ jobs:
|
||||
break
|
||||
fi
|
||||
done
|
||||
echo "::set-output name=sha::${sha}"
|
||||
echo "{sha}={sha}" >> $GITHUB_OUTPUT
|
||||
- name: Check
|
||||
id: check
|
||||
shell: bash
|
||||
@ -104,7 +104,7 @@ jobs:
|
||||
"${@}" >/var/tmp/report.txt || ret=$?
|
||||
cat /var/tmp/report.txt || true
|
||||
set --
|
||||
echo "::set-output name=ret::${ret}"
|
||||
echo "{ret}={ret}" >> $GITHUB_OUTPUT
|
||||
[[ ${ret} == 0 ]]
|
||||
- name: Format report
|
||||
if: ${{ always() }}
|
||||
@ -154,7 +154,7 @@ jobs:
|
||||
https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
|
||||
filename: **pkgcheck-report-${commit_id}**_
|
||||
EOF
|
||||
echo "::set-output name=commit::${commit_id}"
|
||||
echo "{commit}={commit_id}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
cat <<EOF >>/var/tmp/report.md
|
||||
</details>
|
||||
@ -162,7 +162,7 @@ jobs:
|
||||
${r_explain}
|
||||
EOF
|
||||
fi
|
||||
echo "::set-output name=has::true"
|
||||
echo "{has}={true}" >> $GITHUB_OUTPUT
|
||||
- name: Hide previous results
|
||||
if: ${{ always() }}
|
||||
shell: bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user