mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
Replace deprecated set-output with GITHUB_OUTPUT
This commit is contained in:
4
.github/workflows/update-python-deps.yml
vendored
4
.github/workflows/update-python-deps.yml
vendored
@@ -71,7 +71,7 @@ jobs:
|
|||||||
updates=$(pdm update 2>&1 |tee /dev/fd/5)
|
updates=$(pdm update 2>&1 |tee /dev/fd/5)
|
||||||
|
|
||||||
if git diff --exit-code pdm.lock; then
|
if git diff --exit-code pdm.lock; then
|
||||||
echo "::set-output name=updates::"
|
echo "updates=" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
updates=$(echo "$updates" | grep Update)
|
updates=$(echo "$updates" | grep Update)
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@ jobs:
|
|||||||
updates="${updates//$'\n'/'%0A'}"
|
updates="${updates//$'\n'/'%0A'}"
|
||||||
updates="${updates//$'\r'/'%0D'}"
|
updates="${updates//$'\r'/'%0D'}"
|
||||||
|
|
||||||
echo "::set-output name=updates::${updates}"
|
echo "updates=${updates}" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
|
|||||||
Reference in New Issue
Block a user