Added setup-python step to build (#2792)

Signed-off-by: George Araújo <george.gcac@gmail.com>
This commit is contained in:
George 2024-10-21 21:38:26 -03:00 committed by GitHub
parent 533f2c4fad
commit 6053d3f768
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,11 +67,16 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Ruby
- name: Setup Ruby 💎
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2.2"
ruby-version: "3.3.5"
bundler-cache: true
- name: Setup Python 🐍
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip" # caching pip dependencies
- name: Update _config.yml ⚙️
uses: fjogeleit/yaml-update-action@main
with:
@ -81,7 +86,7 @@ jobs:
value: ${{ github.repository }}
- name: Install and Build 🔧
run: |
pip3 install --upgrade jupyter
pip3 install --upgrade nbconvert
export JEKYLL_ENV=production
bundle exec jekyll build
- name: Purge unused CSS 🧹