Skip to content

Commit ec6bce9

Browse files
committed
try
1 parent 44c34a3 commit ec6bce9

File tree

2 files changed

+390
-14
lines changed

2 files changed

+390
-14
lines changed

action.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,9 @@ inputs:
2525
runs:
2626
using: "composite"
2727
steps:
28-
# TODO: add the checkout action here before publishing.
29-
30-
# TODO: remove
31-
# - name: Install tree
32-
# run: sudo apt-get install tree
33-
# shell: bash
34-
# - name: Print directory tree up to depth 4
35-
# run: tree -a -L 4
36-
# shell: bash
28+
- uses: actions/checkout@v3
29+
with:
30+
fetch-depth: 0
3731

3832
- name: Fetch main branch
3933
run: git fetch origin main:main
@@ -68,7 +62,7 @@ runs:
6862
env:
6963
GITHUB_REPO_NAME: ${{ github.repository}}
7064
run: |
71-
python .github/scripts/generate_docs.py \
65+
python scripts/generate_docs.py \
7266
--server-address ${{ inputs.runllm_server_address }} \
7367
--api-key ${{ inputs.runllm_api_key }} \
7468
--input-api-file ${{ inputs.input_api_file }} \
@@ -80,10 +74,13 @@ runs:
8074
- id: get-pr-body
8175
run: |
8276
body=$(cat pr-body.txt)
83-
body="${body//'%'/'%25'}"
84-
body="${body//$'\n'/'%0A'}"
85-
body="${body//$'\r'/'%0D'}"
86-
echo "pr_body=${body}" >> $GITHUB_OUTPUT
77+
echo "pr_body<<EOF" >> $GITHUB_OUTPUT
78+
echo "$body"
79+
echo "EOF"
80+
# body="${body//'%'/'%25'}"
81+
# body="${body//$'\n'/'%0A'}"
82+
# body="${body//$'\r'/'%0D'}"
83+
# echo "pr_body=${body}" >> $GITHUB_OUTPUT
8784
shell: bash
8885

8986
- name: Remove temporary files

0 commit comments

Comments
 (0)