mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-31 02:52:19 +08:00
parent
93a0616f7e
commit
81a8352d64
1 changed files with 12 additions and 11 deletions
23
.github/workflows/dependency-updates.yml
vendored
23
.github/workflows/dependency-updates.yml
vendored
|
@ -19,17 +19,18 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
set -x
|
set -x
|
||||||
cd ./php
|
cd ./php
|
||||||
composer update
|
composer update --with-all-dependencies
|
||||||
set +e
|
# Disable dependency updates for now
|
||||||
ALL_LINES="$(composer outdated | grep -v "^$\|Direct dependencies\|Everything up to date\|Transitive dependencies")"
|
# set +e
|
||||||
set -e
|
# ALL_LINES="$(composer outdated | grep -v "^$\|Direct dependencies\|Everything up to date\|Transitive dependencies")"
|
||||||
while [ -n "$ALL_LINES" ]; do
|
# set -e
|
||||||
CURRENT_LINE="$(echo "$ALL_LINES" | head -1)"
|
# while [ -n "$ALL_LINES" ]; do
|
||||||
composer require "$(echo "$CURRENT_LINE" | awk '{print $1}')" "^$(echo "$CURRENT_LINE" | awk '{print $4}')" --with-all-dependencies
|
# CURRENT_LINE="$(echo "$ALL_LINES" | head -1)"
|
||||||
ALL_LINES="$(echo "$ALL_LINES" | sed '1d')"
|
# composer require "$(echo "$CURRENT_LINE" | awk '{print $1}')" "^$(echo "$CURRENT_LINE" | awk '{print $4}')" --with-all-dependencies
|
||||||
done
|
# ALL_LINES="$(echo "$ALL_LINES" | sed '1d')"
|
||||||
echo "outdated dependencies:
|
# done
|
||||||
$(composer outdated)"
|
# echo "outdated dependencies:
|
||||||
|
# $(composer outdated)"
|
||||||
- name: Update apcu
|
- name: Update apcu
|
||||||
run: |
|
run: |
|
||||||
# APCU
|
# APCU
|
||||||
|
|
Loading…
Reference in a new issue