Skip to content

Commit 8797bdc

Browse files
authored
Update docs-sync.translate.yaml
1 parent 0626ee7 commit 8797bdc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/docs-sync.translate.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ jobs:
4949
- name: Read prompt from file
5050
id: prompt
5151
run: |
52-
prompt_value=$(cat .github/workflows/prompt.txt | sed ':a;N;$!ba;s/\n/\\n/g')
53-
echo "prompt=$prompt_value" >> $GITHUB_OUTPUT
52+
echo 'prompt<<EOF' >> $GITHUB_OUTPUT
53+
cat .github/workflows/prompt.txt >> $GITHUB_OUTPUT
54+
echo 'EOF' >> $GITHUB_OUTPUT
5455
5556
- name: Run GPT Translate
5657

0 commit comments

Comments
 (0)