Skip to content

Commit d54ca8e

Browse files
authored
Update drupal-update.yml
Github shell is weird
1 parent 4cd3176 commit d54ca8e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/drupal-update.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ jobs:
148148
id: composer-update
149149
run: |
150150
echo "Running composer update..."
151-
output=$({ composer_exit_code=0 && composer update --no-scripts 2>&1; } || { composer_exit_code=1; })
151+
composer_exit_code=0
152+
output=$(composer update --no-scripts 2>&1 || composer_exit_code=1)
152153
153154
# If composer update fails, exit with a non-zero status
154155
if [ $composer_exit_code -ne 0 ]; then

0 commit comments

Comments
 (0)