Skip to content

Commit

Permalink
Update github action workflows to account for deprecation of macos-12…
Browse files Browse the repository at this point in the history
… runner and move of ubuntu-latest runner to ubuntu-24.04 (#1878)

Update github action workflows to account for deprecation of macos-12
runner and move of ubuntu-latest to ubuntu-24.04.

Removed use of ubuntu-latest and macos-latest in favor of explicit
versions (macos-14, ubuntu-24.04) in order to prevent issues when
*-latest changes without our notice.
  • Loading branch information
hjellinek authored Nov 11, 2024
2 parents 024e83d + 0dfac33 commit c4c0b65
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/buildDocker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
# based on the latest commit to the repo

sentry:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
release_not_built: ${{ steps.check.outputs.release_not_built }}

Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:

build_and-push:

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

needs: [sentry]
if: |
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:

complete:

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

outputs:
build_successful: ${{ steps.output.outputs.build_successful }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/buildLoadup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
# based on the latest commit to the repo

sentry:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
release_not_built: ${{ steps.check.outputs.release_not_built }}

Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:

loadup:

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

outputs:
combined_release_tag: ${{ steps.job_outputs.outputs.COMBINED_RELEASE_TAG }}
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
#
linux_installer:

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

needs: [sentry, loadup]
if: |
Expand Down Expand Up @@ -333,7 +333,7 @@ jobs:
#
macos_installer:

runs-on: macos-12
runs-on: macos-14

needs: [sentry, loadup]
if: |
Expand Down Expand Up @@ -507,7 +507,7 @@ jobs:

downloads_page:

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

needs: [sentry, loadup, linux_installer, macos_installer, cygwin_installer]
if: |
Expand Down Expand Up @@ -606,7 +606,7 @@ jobs:

complete:

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

outputs:
build_successful: ${{ steps.output.outputs.build_successful }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/buildReleaseInclDocker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
# the result of a workflow_dispatch or a workflow_call

inputs:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
draft: ${{ steps.one.outputs.draft }}
force: ${{ steps.one.outputs.force }}
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:

# Kickoff workflow in online repo to build and deploy Medley docker image to oio
do_oio:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [inputs, do_docker]
steps:
- name: trigger-oio-buildAndDeploy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doHCFILES.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

run_HCFILES:

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:

Expand Down

0 comments on commit c4c0b65

Please sign in to comment.