From a182ec12cfa77c800befdc3a0ad6bbe364415126 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 1 Feb 2024 17:02:14 +0100 Subject: [PATCH] Workflows: Use explicit ubuntu-22.04 instead of a varying ubuntu-latest Also notice that ubuntu-22.04 doesn't include Erlang/OTP. --- .github/workflows/container.yml | 2 +- .github/workflows/installers.yml | 4 ++-- .github/workflows/runtime.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 0461cb9b8..02c584054 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -19,7 +19,7 @@ env: jobs: container: name: Container - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: packages: write steps: diff --git a/.github/workflows/installers.yml b/.github/workflows/installers.yml index 4a026c31c..59e44c70f 100644 --- a/.github/workflows/installers.yml +++ b/.github/workflows/installers.yml @@ -21,7 +21,7 @@ on: jobs: binaries: name: Binaries - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Cache build directory uses: actions/cache@v3 @@ -70,7 +70,7 @@ jobs: release: name: Release needs: [binaries] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.ref_type == 'tag' steps: - name: Download packages diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index 714edd269..98d81564d 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml @@ -33,7 +33,7 @@ jobs: matrix: otp: ['20.3', '25.3', '26'] rebar: ['rebar', 'rebar3'] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: image: erlang:${{ matrix.otp }}