Skip to content

Commit

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

Signed-off-by: Violeta Georgieva <[email protected]>
  • Loading branch information
violetagg authored Feb 13, 2025
1 parent 2bc68c0 commit 03e7d3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ permissions: read-all
jobs:
checks:
name: checks
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# Notes on prepare: this job has no access to secrets, only github token. As a result, all non-core actions are centralized here
# This includes the tagging and drafting of release notes. Still, when possible we favor plain run of gradle tasks
name: prepare
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
versionType: ${{ steps.version.outputs.versionType }}
fullVersion: ${{ steps.version.outputs.fullVersion }}
Expand All @@ -37,7 +37,7 @@ jobs:
slowChecks:
# similar limitations as in prepare, but we parallelize the slowest tests here (races in CommonPoolTest)
name: slowChecks
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: setup java
Expand All @@ -52,7 +52,7 @@ jobs:
#deploy the snapshot artifacts to Artifactory
deploySnapshot:
name: deploySnapshot
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [ prepare, slowChecks ]
if: needs.prepare.outputs.versionType == 'SNAPSHOT'
environment: snapshots
Expand All @@ -72,7 +72,7 @@ jobs:
#sign the milestone artifacts and deploy them to Artifactory
deployMilestone:
name: deployMilestone
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [ prepare, slowChecks ]
if: needs.prepare.outputs.versionType == 'MILESTONE'
environment: releases
Expand All @@ -94,7 +94,7 @@ jobs:
#sign the release artifacts and deploy them to Artifactory
deployRelease:
name: deployRelease
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [ prepare, slowChecks ]
if: needs.prepare.outputs.versionType == 'RELEASE'
environment: releases
Expand All @@ -118,7 +118,7 @@ jobs:
tagMilestone:
name: Tag milestone
needs: [ prepare, deployMilestone ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
Expand All @@ -132,7 +132,7 @@ jobs:
tagRelease:
name: Tag release
needs: [ prepare, deployRelease ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
Expand Down

0 comments on commit 03e7d3d

Please sign in to comment.