Skip to content

Commit

Permalink
Pin the GitHub Linux machines to 20.04 (#1171)
Browse files Browse the repository at this point in the history
* Install mono in Linux workflow

* Use ubuntu-20.04 for everything
  • Loading branch information
a-maurice authored Jan 7, 2025
1 parent cac08d5 commit 1ec2720
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ on:
jobs:
build_desktop:
name: build-linux-unity${{inputs.unity_version}}-CPP${{ inputs.firebase_cpp_sdk_version }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_starter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ env:

jobs:
check_and_prepare:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
outputs:
platform: ${{ steps.set_outputs.outputs.platform }}
release_label: ${{ steps.set_outputs.outputs.release_label }}
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:

decide_build_branch:
needs: [check_and_prepare,update_versions]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: always()
outputs:
build_branch: ${{ steps.decide_branch.outputs.branch }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ env:

jobs:
check_and_prepare:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
outputs:
trigger: ${{ steps.set_outputs.outputs.trigger }}
github_ref: ${{ steps.set_outputs.outputs.github_ref }}
Expand Down Expand Up @@ -636,7 +636,7 @@ jobs:
summarize_results:
name: "summarize-results"
needs: [check_and_prepare, build_testapp, playmode_test, integration_test]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: ${{ !cancelled() }}
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ env:
jobs:
package_sdks:
name: package-${{github.event.inputs.release_label}}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
# Trigger the integration_tests workflow.
needs: [package_sdks]
if: (inputs.runIntegrationTests != '0') && !cancelled() && !failure()
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
outputs:
new_branch: ${{ steps.decide-output.outputs.new_branch }}
cpp_release_version: ${{ steps.decide_input.outputs.cpp_release_version }}
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
Expand Down
2 changes: 1 addition & 1 deletion scripts/gha/print_matrix_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
# GitHub Runner
WINDOWS_RUNNER = "windows-latest"
MACOS_RUNNER = "macos-13"
LINUX_RUNNER = "ubuntu-latest"
LINUX_RUNNER = "ubuntu-20.04"

PARAMETERS = {
"integration_tests": {
Expand Down

0 comments on commit 1ec2720

Please sign in to comment.