From 1cc2f85270d17deb0f02699537f0f920bf475f74 Mon Sep 17 00:00:00 2001 From: Nickolas Oliver Date: Fri, 29 Sep 2023 10:02:13 -0700 Subject: [PATCH] chore(workflows): use GITHUB_OUTPUT instead of ::set-output https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/publish.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7173fe1..e59dc56 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ jobs: if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: - id: commit - run: echo "::set-output name=message::${{ github.event.head_commit.message }}" + run: echo "message=${{ github.event.head_commit.message }}" >> $GITHUB_OUTPUT outputs: commitMsg: ${{ steps.commit.outputs.message }} publish: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ff940d0..12dd26d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: if: "!contains(github.event.head_commit.message, '[skip ci]')" steps: - id: commit - run: echo "::set-output name=message::${{ github.event.head_commit.message }}" + run: echo "message=${{ github.event.head_commit.message }}" >> $GITHUB_OUTPUT outputs: commitMsg: ${{ steps.commit.outputs.message }} release: