Skip to content

Commit c5e2f60

Browse files
author
l
committed
fix output eof
1 parent 7eb4f88 commit c5e2f60

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/test-sdc-tasks.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,9 @@ jobs:
5757
- name: read test output
5858
id: read-test-output
5959
run: |
60-
# Read output.txt and write to GITHUB_OUTPUT
6160
echo 'testoutput<<EOF' >> $GITHUB_OUTPUT
6261
cat testoutput.txt >> $GITHUB_OUTPUT
63-
echo EOF
62+
echo EOF >> $GITHUB_OUTPUT
6463
- name: make output comment
6564
uses: peter-evans/create-or-update-comment@v5.0.0
6665
with:

individual-shell-tools/awk/script-01.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ set -euo pipefail
44

55
# TODO: Write a command to output just the names of each player in `scores-table.txt`.
66
# Your output should contain 6 lines, each with just one word on it.
7-
awk '{print ' scores-table.txt # deliberately break this implementation
7+
awk '{print qqqq' scores-table.txt # deliberately break this implementation

0 commit comments

Comments
 (0)