mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
hopefully fix the workflow
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
4e852761d9
commit
3041e51b04
1 changed files with 7 additions and 7 deletions
4
.github/workflows/dependency-updates.yml
vendored
4
.github/workflows/dependency-updates.yml
vendored
|
|
@ -21,14 +21,14 @@ jobs:
|
|||
chmod +x /usr/local/bin/composer
|
||||
cd ./php
|
||||
composer update
|
||||
set +e
|
||||
ALL_LINES="$(composer outdated | grep -v "psr/container")"
|
||||
if [ -n "$ALL_LINES" ]; then
|
||||
set -e
|
||||
while [ -n "$ALL_LINES" ]; do
|
||||
CURRENT_LINE="$(echo "$ALL_LINES" | head -1)"
|
||||
composer require "$(echo "$CURRENT_LINE" | awk '{print $1}')" "^$(echo "$CURRENT_LINE" | awk '{print $4}')"
|
||||
ALL_LINES="$(echo "$ALL_LINES" | sed '1d')"
|
||||
done
|
||||
fi
|
||||
echo "outdated dependencies:
|
||||
$(composer outdated)"
|
||||
- name: Create Pull Request
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue