Skip to content

Commit

Permalink
chore(workflows): use GITHUB_OUTPUT instead of ::set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
PixnBits committed Sep 29, 2023
1 parent 3931607 commit 1cc2f85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1cc2f85

Please sign in to comment.