From d3ff2f4c662b58bb88b92abae8c1cd8162a8fc19 Mon Sep 17 00:00:00 2001 From: Arun Date: Thu, 11 Jan 2024 17:03:11 -0800 Subject: [PATCH] ci: Use GITHUB_OUTPUT envvar instead of set-output command Signed-off-by: Arun --- .github/workflows/monthly_release.yml | 2 +- .github/workflows/publish_release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/monthly_release.yml b/.github/workflows/monthly_release.yml index 1f5835014..d1c7ff89e 100644 --- a/.github/workflows/monthly_release.yml +++ b/.github/workflows/monthly_release.yml @@ -29,7 +29,7 @@ jobs: git config user.name github-actions git config user.email github-actions@github.com semantic-release version - echo ::set-output name=version::$(semantic-release print-version --current) + echo "version=$(semantic-release print-version --current)" >> $GITHUB_OUTPUT semantic-release changelog > './CHANGELOG.md' - name: Create release pull request uses: peter-evans/create-pull-request@v3 diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index f4c6e5a94..08e213db4 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -22,7 +22,7 @@ jobs: id: vers run: | pip install python-semantic-release - echo ::set-output name=version::$(semantic-release print-version --current) + echo "version=$(semantic-release print-version --current)" >> $GITHUB_OUTPUT - name: Create release id: create_release uses: actions/create-release@v1