Skip to content

Commit 2bd081c

Browse files
committed
Use GITHUB_OUTPUT over set-output
1 parent 33bb9b5 commit 2bd081c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ jobs:
4242
uses: ./.github/actions/setup
4343
- name: Get version
4444
id: version
45-
run: |
46-
echo "::set-output name=current::$(jq -r '.version' package.json)"
45+
run: echo "{current}=$(jq -r '.version' package.json)" >> $GITHUB_OUTPUT
4746
- name: Documentation
4847
run: npm run docs:build
4948
- name: Publish ${{ steps.version.outputs.current }}

0 commit comments

Comments
 (0)