From 81a8352d6479920aa57cb9ac260fe69dda84a5f8 Mon Sep 17 00:00:00 2001 From: Simon L Date: Tue, 4 Apr 2023 14:34:21 +0200 Subject: [PATCH] update dependency-update workflow ssh ncadmin@192.168.24.128 --- .github/workflows/dependency-updates.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml index e47c36f3..97adff71 100644 --- a/.github/workflows/dependency-updates.yml +++ b/.github/workflows/dependency-updates.yml @@ -19,17 +19,18 @@ jobs: run: | set -x cd ./php - composer update - set +e - ALL_LINES="$(composer outdated | grep -v "^$\|Direct dependencies\|Everything up to date\|Transitive dependencies")" - 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}')" --with-all-dependencies - ALL_LINES="$(echo "$ALL_LINES" | sed '1d')" - done - echo "outdated dependencies: - $(composer outdated)" + composer update --with-all-dependencies + # Disable dependency updates for now + # set +e + # ALL_LINES="$(composer outdated | grep -v "^$\|Direct dependencies\|Everything up to date\|Transitive dependencies")" + # 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}')" --with-all-dependencies + # ALL_LINES="$(echo "$ALL_LINES" | sed '1d')" + # done + # echo "outdated dependencies: + # $(composer outdated)" - name: Update apcu run: | # APCU