Skip to content

Commit

Permalink
this time for sure
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Aug 27, 2024
1 parent 1d2d24b commit 60ebdde
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
echo "We are about to get the output"
GREET=$(./scripts/simple.sh)
ALL_TESTS=$(./scripts/test.sh)
# echo "all_tests=$ALL_TESTS" >> $GITHUB_ENV
echo "all_tests=$ALL_TESTS" >> $GITHUB_ENV
echo "greet=$GREET" >> $GITHUB_ENV
- name: Print the captured output
run: |
echo "${{ steps.get_all_tests.outputs.all_tests }}"
echo "${{ env.all_tests }}"
echo "${{ env.all_tests }}" | base64 -d
echo "${{ env.greet }}"
debug-generate-tests:
name: ${{matrix.tests}}
Expand Down
1 change: 1 addition & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ done <<< "$(echo "$all_directories" | sort)" # Feed sorted directories into the

# Remove the last comma and close the JSON array
json_result=$(echo "$json_result" | sed '$ s/,$//')
json_result=$(echo "$json_result" | sed ':a;N;$!ba;s/\n//g') # Remove new lines
json_result+="]"

# Store the result in a variable (you can use it as needed)
Expand Down

0 comments on commit 60ebdde

Please sign in to comment.