Skip to content

Commit

Permalink
[build] Switch to ubuntu-22.04 runner (#482)
Browse files Browse the repository at this point in the history
ubuntu-20.04 runner is deprecated
actions/runner-images#11101

with ubuntu-latest, huge delays in the executions are observed

Signed-off-by: Violeta Georgieva <[email protected]>
  • Loading branch information
violetagg authored Feb 13, 2025
1 parent 6b07b7d commit 5ff932f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: pull_request

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
update_release_draft:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: release-drafter/release-drafter@v6
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
publishRelease:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: release
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
checkSnapshot:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK
Expand All @@ -18,7 +18,7 @@ jobs:
- name: Run tests and javadoc
run: ./gradlew check javadoc
publishSnapshot:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: checkSnapshot
environment: snapshot
env: #change this after a release
Expand Down

0 comments on commit 5ff932f

Please sign in to comment.