Skip to content

Commit 000a9d1

Browse files
author
Greg Bowler
committed
set full_command output variable before running
1 parent 3dfa462 commit 000a9d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

composer-action.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ export COMPOSER_CACHE_DIR="/tmp/composer-cache"
143143
unset ACTION_SSH_KEY
144144
unset ACTION_SSH_KEY_PUB
145145

146+
echo "::set-output name=full_command::${command_string}"
147+
146148
docker run --rm \
147149
--volume "${github_action_path}/composer.phar":/usr/local/bin/composer \
148150
--volume ~/.gitconfig:/root/.gitconfig \
@@ -154,5 +156,3 @@ docker run --rm \
154156
--env-file <( env| cut -f1 -d= ) \
155157
${memory_limit} \
156158
${docker_tag} ${command_string}
157-
158-
echo "::set-output name=full_command::${command_string}"

0 commit comments

Comments
 (0)