Skip to content

Commit b91a3df

Browse files
committed
Move away from deprecated set-output in workflow
1 parent adbc6e1 commit b91a3df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-guides.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: extract branch name
4343
id: extract_branch
4444
shell: bash
45-
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
45+
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
4646
- name: deploy
4747
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
4848
uses: peaceiris/actions-gh-pages@v3.9.3

0 commit comments

Comments
 (0)