Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Aug 27, 2024
1 parent c65f70d commit ec5ba25
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,22 @@ jobs:
- id: example_directories
name: generateTests
run: |
GREET=$(./scripts/simple.sh)
OLD_EXAMPLE_DIRECTORIES=$(cat << END
[
"examples/hello_world",
"examples/hello_world2"
]
END
)
OLD_EXAMPLE_DIRECTORIES="${OLD_EXAMPLE_DIRECTORIES//'%'/'%25'}"
OLD_EXAMPLE_DIRECTORIES="${OLD_EXAMPLE_DIRECTORIES//$'\n'/'%0A'}"
OLD_EXAMPLE_DIRECTORIES="${OLD_EXAMPLE_DIRECTORIES//$'\r'/'%0D'}"
EXAMPLE_DIRECTORIES=$(./scripts/just-paths.sh)
echo "::set-output name=example_directories::$EXAMPLE_DIRECTORIES"
echo "Here it is the same"
echo here is the new example dirs
echo $EXAMPLE_DIRECTORIES
echo "Here is the example dirs differently too"
echo "${{ steps.example_directories.outputs.example_directories }}"
echo here is the old one
echo $OLD_EXAMPLE_DIRECTORIES
- name: Print the captured output
run: echo "${{ steps.example_directories.outputs.example_directories }}"
test-path-debugging:
Expand Down

0 comments on commit ec5ba25

Please sign in to comment.