Skip to content

Commit

Permalink
fix action python package
Browse files Browse the repository at this point in the history
  • Loading branch information
oudeis01 committed May 23, 2024
1 parent 2facf34 commit 0b6bd86
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: |
pip install -r ./scripts/requirements.txt
python ./scripts/process_text.py
- name: Detect package manager
id: detect-package-manager
run: |
Expand Down Expand Up @@ -75,16 +83,6 @@ jobs:
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}

- name: Install python dependency
run: |
sudo apt-get install python3
sudo apt-get install python3-pip
pip3 install --upgrade pip
pip3 install python-docx
- name: Fetch google doc
run: npm run fetch

- name: Build with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next build

Expand Down

0 comments on commit 0b6bd86

Please sign in to comment.