Update the usage of set-output command in GH actions (#615)

**Description:**

This PR updates the usage of set-output command in GH actions.

Reference :
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

CHANGELOG entry is not required
This commit is contained in:
Vasi Vasireddy 2022-11-21 12:33:40 -08:00 committed by GitHub
parent 29799463ac
commit 7dfa0cb348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -182,8 +182,8 @@ jobs:
v$VERSION \
opentelemetry-jmx-metrics.jar
echo "::set-output name=version::$VERSION"
echo "::set-output name=jmx-metrics-version::$jmx_metrics_version"
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "jmx-metrics-version=$jmx_metrics_version" >> $GITHUB_OUTPUT
merge-change-log-to-main:
runs-on: ubuntu-latest