Skip to content

Commit

Permalink
test different entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrek-janus committed Feb 13, 2024
1 parent ecb89e4 commit d917024
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/action-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/bash

/app/cac "$@" > /tmp/out
cac "$@" > /tmp/out

# Merge the output into a single line so it can be used as github action output
content=$(awk '{printf "%s\\n", $0}' /tmp/out)
escaped=$(printf '%q' "$content")
echo "::set-output name=result::$escaped"
echo "::set-output name=result::${content@Q}"

0 comments on commit d917024

Please sign in to comment.