Skip to content

Commit 980198e

Browse files
authored
Merge pull request #30 from cytopia/updates
Fix deprecated set-output command
2 parents b670b8d + af9d58b commit 980198e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ runs:
4444
HASH="$( git rev-parse --short HEAD )"
4545
4646
# Hash is found in what Branch?
47-
FROM="$( git branch --contains "${HASH}" | head -2 | tac | head -1 | sed 's|^*[[:space:]]*||g' | sed 's|)||g' | xargs -n1 | tail -1 | xargs )"
47+
FROM="$( git branch --contains "${HASH}" | head -2 | tac | head -1 | sed 's|^*[[:space:]]*||g' | sed 's|)||g' | xargs -n1 | tail -1 | xargs )"
4848
4949
# How many commits behind FROM branch
5050
BEHIND="$( git rev-list --count "${HASH}..${FROM}" )"
@@ -100,7 +100,7 @@ runs:
100100
###
101101
### Set final output for 'docker-tag'
102102
###
103-
echo "::set-output name=docker-tag::${DOCKER_TAG}"
103+
echo "docker-tag=${DOCKER_TAG}" >> $GITHUB_OUTPUT
104104
105105
###
106106
### Output information

0 commit comments

Comments
 (0)