Skip to content

Commit 9013ab2

Browse files
committed
Merge branch 'gha-set-output'
2 parents 309ca11 + 037fe51 commit 9013ab2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
IMAGE=adminer:${VARIANT/\//-}-$(date +%s)
2222
docker build "$VARIANT" --tag "$IMAGE" |sed 's/^Step/::endgroup::\n::group::Step/'
2323
printf "::endgroup::\n"
24-
printf "::set-output name=%s::%s\n" "image" "$IMAGE"
25-
printf "::set-output name=%s::%s\n" "version" "$(awk '/^ENV\s+ADMINER_VERSION/{print $3}' "$VARIANT/Dockerfile")"
24+
printf "image=%s\n" "$IMAGE" >> $GITHUB_OUTPUT
25+
printf "version=%s\n" "$(awk '/^ENV\s+ADMINER_VERSION/{print $3}' "$VARIANT/Dockerfile")" >> $GITHUB_OUTPUT
2626
env:
2727
VARIANT: ${{ matrix.variant }}
2828
- name: Smoketest

0 commit comments

Comments
 (0)