Skip to content

Commit

Permalink
Avoid using set-output in GitHub Actions
Browse files Browse the repository at this point in the history
We should update it to the new style per the docs:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

You can see the warning at the bottom of this run of the `release`
workflow: https://github.com/grammarly/embrace/actions/runs/7104082636
  • Loading branch information
gabebw-grammarly committed Dec 15, 2023
1 parent e673d97 commit 873c192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- name: Branch name
id: branch_name
run: echo ::set-output name=TARBALL::grammarly-embrace-${GITHUB_REF#refs/tags/}.tgz
run: echo "TARBALL=grammarly-embrace-${GITHUB_REF#refs/tags/}.tgz" >> $GITHUB_OUTPUT
- name: Checkout code
uses: actions/checkout@v4
- run: yarn install
Expand Down

0 comments on commit 873c192

Please sign in to comment.