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: