Skip to content

Commit fd1eae1

Browse files
committed
fix?
1 parent 6f845b9 commit fd1eae1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
compilation_outputs: ${{ steps.compile.outputs.result }}
1616
steps:
1717
- 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
18+
- run: |
19+
echo "result=<<EOF" >> $GITHUB_OUTPUT
20+
g++ -o test source.cpp 2>&1 >> $GITHUB_OUTPUT
21+
echo "EOF" >> $GITHUB_OUTPUT
2222
id: compile
2323
- run: ./test
2424

0 commit comments

Comments
 (0)