We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23baa21 commit 0626ee7Copy full SHA for 0626ee7
.github/workflows/docs-commit.translate.yaml
@@ -36,8 +36,9 @@ jobs:
36
- name: Read prompt from file
37
id: prompt
38
run: |
39
- prompt_value=$(cat .github/workflows/prompt.txt | sed ':a;N;$!ba;s/\n/\\n/g')
40
- echo "prompt=$prompt_value" >> $GITHUB_OUTPUT
+ echo 'prompt<<EOF' >> $GITHUB_OUTPUT
+ cat .github/workflows/prompt.txt >> $GITHUB_OUTPUT
41
+ echo 'EOF' >> $GITHUB_OUTPUT
42
43
- name: Run GPT Translate
44
uses: 3ru/gpt-translate@v1.1.11
0 commit comments