Skip to content

Commit c7114a7

Browse files
committed
CI: fix deprecation (set-output)
1 parent 504a5f2 commit c7114a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,12 @@ jobs:
164164
id: vars
165165
env:
166166
COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
167-
run: echo "::set-output name=sha_short::${COMMIT_SHA:0:7}"
167+
run: echo "sha_short=${COMMIT_SHA:0:7}" >> $GITHUB_OUTPUT
168168

169169
- name: Store tag name
170170
id: tag_name
171171
if: startsWith(github.ref, 'refs/tags/')
172-
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
172+
run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
173173

174174
- name: Increment pre-release version
175175
if: github.ref == 'refs/heads/master'

0 commit comments

Comments
 (0)