Skip to content

Commit 7008112

Browse files
authored
Update GitHub Actions output setting syntax to use envfile (#25687)
1 parent 1aa783d commit 7008112

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docs_deploy_aws.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/checkout@v4
3232

3333
- id: set-branch
34-
run: echo "::set-output name=branchname::${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
34+
run: echo "branchname=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
3535

3636
- id: set-version
3737
run: |
@@ -41,7 +41,7 @@ jobs:
4141
else
4242
version="v${branch#release/}"
4343
fi
44-
echo "::set-output name=releaseversion::$version"
44+
echo "releaseversion=$version" >> $GITHUB_OUTPUT
4545
4646
- name: Setup Node
4747
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)