Skip to content

Commit

Permalink
#2 修复环境变量
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorReid committed Jun 16, 2024
1 parent 4661849 commit 8d10e7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/locale-po.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ jobs:
- name: Show dir
run: pwd

- name: Add src directory to PYTHONPATH
run: |
echo "export PYTHONPATH=$PYTHONPATH:$(pwd)/src" >> $GITHUB_ENV
- name: Compile PO files
run: |
PYTHONPATH=$(pwd) python src/one_dragon/devtools/compile_po.py
python src/one_dragon/devtools/compile_po.py
- name: Commit changes
run: |
Expand Down

0 comments on commit 8d10e7d

Please sign in to comment.