From ddd653d388fa80510a7cdadcee7fbcda65f82027 Mon Sep 17 00:00:00 2001 From: Bartosz Antosik Date: Wed, 10 Apr 2024 12:00:34 +0200 Subject: [PATCH] Remove set-output in GitHub Actions --- .github/workflows/update-spellcheck-binaries.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-spellcheck-binaries.yml b/.github/workflows/update-spellcheck-binaries.yml index 7789925..9f004e3 100644 --- a/.github/workflows/update-spellcheck-binaries.yml +++ b/.github/workflows/update-spellcheck-binaries.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - name: Extract branch name shell: bash - run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" + run: echo echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT id: extract_branch - uses: actions/setup-node@v4 with: