Skip to content

Commit 0f91f06

Browse files
authored
Merge pull request cds-hooks#577 from sap-contributions/replace-deprecated-gha-syntax
Replace deprecated GHA ::set-output syntax
2 parents a71ecf9 + 216ffb5 commit 0f91f06

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/docs/buildpack-author-guide/publishing-with-github-actions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ jobs:
5252
PACKAGE="${REPO}/$(echo "$BP_ID" | sed 's/\//_/g')"
5353
pack buildpack package --publish ${PACKAGE}:${VERSION}
5454
DIGEST="$(crane digest ${PACKAGE}:${VERSION})"
55-
echo "::set-output name=bp_id::$BP_ID"
56-
echo "::set-output name=version::$VERSION"
57-
echo "::set-output name=address::${PACKAGE}@${DIGEST}"
55+
echo "bp_id=$BP_ID" >> "$GITHUB_OUTPUT"
56+
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
57+
echo "address=${PACKAGE}@${DIGEST}" >> "$GITHUB_OUTPUT"
5858
shell: bash
5959
env:
6060
REPO: docker.io/${{ secrets.DOCKER_HUB_USER }}

0 commit comments

Comments
 (0)