Skip to content

Commit bc092c5

Browse files
committed
Remove deprecated set-output
1 parent a14ed3d commit bc092c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/prepare-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ jobs:
5656
id: versions
5757
run: |
5858
nbgv prepare-release --versionIncrement ${{ github.event.inputs.versionIncrement }}
59-
echo "::set-output name=MAIN_VERSION_COMMIT_MESSAGE::$(git log --format=%B -n 1 --skip 1)"
59+
echo "{MAIN_VERSION_COMMIT_MESSAGE}={$(git log --format=%B -n 1 --skip 1)}" >> $GITHUB_OUTPUT
6060
git checkout release/v$NBGV_MajorMinorVersion
61-
echo "::set-output name=RELEASE_VERSION_COMMIT_MESSAGE::$(git log --format=%B -n 1)"
61+
echo "{RELEASE_VERSION_COMMIT_MESSAGE}={$(git log --format=%B -n 1)}" >> $GITHUB_OUTPUT
6262
6363
# Workaround since nbgv prepare-release does not sign commits.
6464
# This undo's the commits, keeps the version changes, and commits again with signing

0 commit comments

Comments
 (0)