Skip to content

Commit 94e376c

Browse files
Move off deprecated set-output command
Includes src file change to ensure we test the build case
1 parent ad261a2 commit 94e376c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/pr-autofix.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
2424
then
2525
26-
echo "::set-output name=changed::true"
26+
echo "changed=true" >> $GITHUB_OUTPUT
2727
2828
exit 0
2929
3030
fi
3131
32-
echo "::set-output name=changed::false"
32+
echo "changed=false" >> $GITHUB_OUTPUT
3333
3434
exit 0
3535

src/execCmd.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const exec = require('@actions/exec'); //flow-uncovered-line
44

55
/**
66
* @desc Asynchronously calls @actions/exec to execute a command.
7-
* @param cmd - Command that we are calling.
7+
* @param cmd - The command that we are calling.
88
* @param args - List of arguments to call with the command.
99
* @throws if the command errors.
1010
*/

0 commit comments

Comments
 (0)