Skip to content

Commit d628402

Browse files
committed
fix set-output deprecation
1 parent 0da1852 commit d628402

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: echo "$GITHUB_CONTEXT"
3737
- name: Get the version
3838
id: get_version
39-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
39+
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
4040
shell: bash
4141
- name: Install Node.js
4242
uses: actions/setup-node@v4
@@ -113,7 +113,7 @@ jobs:
113113
steps:
114114
- name: Get the version
115115
id: get_version
116-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
116+
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
117117
shell: bash
118118
- name: Get build from cache
119119
id: cache-check

0 commit comments

Comments
 (0)