Skip to content

Merge remote-tracking branch 'origin/main' #31

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #31

Workflow file for this run

name: Check & Merge Prompt
on:
pull_request_target:
types: [ assigned, opened, synchronize, reopened ]
branches:
- main
push:
branches:
- main
jobs:
check :
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0 # 检出完整的提交历史
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: check the prompt
run: |
python .ci/check.py
- name: gpt_prompt to json
env:
folder_path: 'test/prompt/gpt_prompt'
output_path: 'tianji/prompt'
run: python .ci/prompt_to_json_for_CI.py
- name: yiyan_prompt to json
env:
folder_path: 'test/prompt/yiyan_prompt'
output_path: 'tianji/prompt'
run: python .ci/prompt_to_json_for_CI.py
- name: Merge the gpt_prompt
env:
gpt_folder_path: 'tianji/prompt/gpt_prompt'
gpt_output_json_path: 'tianji/prompt/gpt_prompt/all_gpt_prompt.json'
run: python .ci/build_all_gpt_prompt.py
- name: Merge the yiyan_prompt
env:
yiyan_folder_path: 'tianji/prompt/yiyan_prompt'
yiyan_output_json_path: 'tianji/prompt/yiyan_prompt/all_yiyan_prompt.json'
run: python .ci/build_all_yiyan_prompt.py
- name: Count the number of gpt prompts
env:
all_gpt_json: 'tianji/prompt/gpt_prompt/all_gpt_prompt.json'
run : python .ci/gpt_prompt_stat.py

Check failure on line 58 in .github/workflows/check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check.yml

Invalid workflow file

You have an error in your yaml syntax on line 58
- name: Count the number of yiyan prompts
env: ''
all_yiyan_json: 'tianji/prompt/yiyan_prompt/all_yiyan_prompt.json'
run : python .ci/yiyan_prompt_stat.py