Skip to content

Commit

Permalink
dev: bump ci image to ubuntu-24.04 and remove setup-python action
Browse files Browse the repository at this point in the history
ubuntu-24.04 will soon be the default CI image for GitHub workflows

python 3.12 already available in Ubuntu
  • Loading branch information
practicalli-johnny committed Jan 12, 2025
1 parent d7242ca commit d7f1f15
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/publish-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ permissions:
jobs:
publish-book:
name: MkDocs Publish
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- run: echo "🚀 Job automatically triggered by ${{ github.event_name }}"
- run: echo "🐧 Job running on ${{ runner.os }} server"
Expand All @@ -39,10 +39,11 @@ jobs:
overrides
- run: echo "🐙 ${{ github.repository }} repository sparse-checkout to the CI runner."

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.x
# setup-python only required to use non-default python version
# - name: Setup Python
# uses: actions/setup-python@v5
# with:
# python-version: 3.x

- name: Cache
uses: actions/cache@v4
Expand Down

0 comments on commit d7f1f15

Please sign in to comment.