Skip to content

Commit e0ce7dd

Browse files
committed
CI: avoid deprecated set-output method
1 parent 2b89476 commit e0ce7dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/compilation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
3232
- name: Get short SHA
3333
id: slug
34-
run: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
34+
run: printf '%s\n' "sha8=$(printf '%s\n' ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
3535

3636
- name: Upload artifacts
3737
if: ${{ success() }}

0 commit comments

Comments
 (0)