Make WordPress Core


Ignore:
Timestamp:
01/28/2025 02:00:16 PM (12 months ago)
Author:
desrosj
Message:

Build/Test Tools: Avoid using *-latest tags for runner images.

While using the ubuntu-latest, macos-latest, and windows-latest runner image tags is convenient, it has proven to be problematic in a number of instances as the runners are slowly updated (see #62808 and #62843).

This switches all workflows to using specific version tags representing the latest non-preview versions, which currently are as follows:

  • ubuntu-24.04
  • windows-2022
  • macos-14

Props swissspidy, johnbillion.
See #62221.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/test-build-processes.yml

    r59687 r59720  
    3939      fail-fast: false
    4040      matrix:
    41         os: [ ubuntu-latest, windows-latest ]
     41        os: [ ubuntu-24.04, windows-2022 ]
    4242        directory: [ 'src', 'build' ]
    4343        include:
    4444          # Only prepare artifacts for Playground once.
    45           - os: ubuntu-latest
     45          - os: ubuntu-24.04
    4646            directory: 'build'
    4747            save-build: true
     
    7171      fail-fast: false
    7272      matrix:
    73         os: [ macos-latest ]
     73        os: [ macos-14 ]
    7474        directory: [ 'src', 'build' ]
    7575    with:
     
    8787      fail-fast: false
    8888      matrix:
    89         os: [ ubuntu-latest, windows-latest ]
     89        os: [ ubuntu-24.04, windows-2022 ]
    9090        directory: [ 'src', 'build' ]
    9191    with:
     
    110110      fail-fast: false
    111111      matrix:
    112         os: [ macos-latest ]
     112        os: [ macos-14 ]
    113113        directory: [ 'src', 'build' ]
    114114    with:
     
    134134  failed-workflow:
    135135    name: Failed workflow tasks
    136     runs-on: ubuntu-latest
     136    runs-on: ubuntu-24.04
    137137    permissions:
    138138      actions: write
Note: See TracChangeset for help on using the changeset viewer.