Skip to content

Commit

Permalink
ci: Test multiline string output
Browse files Browse the repository at this point in the history
  • Loading branch information
colluca committed Sep 7, 2024
1 parent e0e816f commit d4544a2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ jobs:
flags: --recursive
- name: Check recursive prerequisites
run: |
test "${{ steps.recursive-prerequisites.outputs.prerequisites }}" = "preprereq"
test "${{ steps.recursive-prerequisites.outputs.prerequisites }}" = "preprereq1\npreprereq2"
echo ${{ steps.recursive-prerequisites.outputs.hash }}
3 changes: 2 additions & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
test: prereq
cp $< $@

prereq: preprereq
prereq: preprereq1 preprereq2
cp $< $@
cat preprereq2 >> $@
1 change: 0 additions & 1 deletion test/preprereq

This file was deleted.

1 change: 1 addition & 0 deletions test/preprereq1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
preprereq1
1 change: 1 addition & 0 deletions test/preprereq2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
preprereq2

0 comments on commit d4544a2

Please sign in to comment.