Skip to content

Commit

Permalink
Failed to install dependencies globally on Ubuntu, modified GitHub Wo…
Browse files Browse the repository at this point in the history
…rkflow to install dependencies in venv instead
  • Loading branch information
TheStalwart authored Feb 3, 2025
1 parent 65d5407 commit b3a1d94
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/display-modes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ jobs:
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Create venv
run: python3 -m venv .venv
- name: Install Python dependencies
run: sudo pip install -r requirements.txt
run: .venv/bin/pip install -r requirements.txt
- name: Build JSON database for frontend
run: python compile.py
run: .venv/bin/python3 compile.py
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit b3a1d94

Please sign in to comment.