Skip to content

Commit

Permalink
Make sure not to eat workflow control messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Dec 25, 2023
1 parent a58583f commit 238a66a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,20 @@ runs:
gha=${{ runner.temp }}/rira
context: ${{ github.workspace }}/.rm-docker-repo
file: ${{ runner.temp }}/rira/build.Dockerfile
- name: Build codexctl
- name: Run container
shell: bash
run: |
cd "$workspace"
docker run \
--rm \
-v "$src_path":/src \
rm-docker:run-in-remarkable-action
rm-docker:run-in-remarkable-action \
2>&1 \
| while read -r line; do
# Make sure output is parsed one line at a time just in case there are
# workflow control messages (e.g. ::error:: or ::warning::)
echo "$line"
done
env:
src_path: ${{ inputs.path }}
workspace: ${{ github.workspace }}

0 comments on commit 238a66a

Please sign in to comment.