From 873c19231797ead521c7a6dd0314fa8152ec86f4 Mon Sep 17 00:00:00 2001 From: Gabe Berke-Williams Date: Thu, 7 Dec 2023 11:32:30 -0800 Subject: [PATCH] Avoid using set-output in GitHub Actions 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 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59a1732..d761a1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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