Skip to content

Commit

Permalink
Force ubuntu based actions to use Ubuntu 22.04.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnotherCommander authored Jan 14, 2025
1 parent 3e14af8 commit 77d283e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
common-steps:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: install all the necessary packages
run: |
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
npx eslint . || echo Ignore problems and continue
build-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [common-steps]
strategy:
matrix:
Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:
retention-days: 5

build-doxygen:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [common-steps]
steps:
- name: install all the necessary packages
Expand Down Expand Up @@ -318,7 +318,7 @@ jobs:

release:
needs: [build-linux, build-windows, build-doxygen]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
## This is for debugging only and helps developing the workflow.
# - name: Environment Variables
Expand Down Expand Up @@ -392,7 +392,7 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build-doxygen
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: github.ref == 'refs/heads/master'

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
Expand Down

0 comments on commit 77d283e

Please sign in to comment.