We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f845b9 commit fd1eae1Copy full SHA for fd1eae1
1 file changed
.github/workflows/test.yml
@@ -15,10 +15,10 @@ jobs:
15
compilation_outputs: ${{ steps.compile.outputs.result }}
16
steps:
17
- uses: actions/checkout@v4
18
- - uses: actions/github-script@v6
19
- with:
20
- script: |
21
- return require('child_process').spawnSync('g++ -Wall -o test source.cpp').stderr
+ - run: |
+ echo "result=<<EOF" >> $GITHUB_OUTPUT
+ g++ -o test source.cpp 2>&1 >> $GITHUB_OUTPUT
+ echo "EOF" >> $GITHUB_OUTPUT
22
id: compile
23
- run: ./test
24
0 commit comments