Skip to content

Commit

Permalink
use setup-python to speed up workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gucio321 committed Apr 18, 2024
1 parent 57505f7 commit f13452d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: install python3
- name: install ubuntu dependencies
run: |
sudo apt -y update
sudo apt -y install python3 python3-pip
sudo apt -y install gnuplot
- name: Set up python3
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip' # caching pip dependencies
- name: install python3 dependencies
run: |
python3 -m pip install -r requirements.txt
pip install -r requirements.txt
- name: setup texlive
uses: teatimeguest/setup-texlive-action@v3
with:
Expand Down

0 comments on commit f13452d

Please sign in to comment.