From fc5697f624e3e41ff4a886b96a5a298aaeaa8025 Mon Sep 17 00:00:00 2001 From: dalance Date: Fri, 26 Apr 2024 19:13:12 +0900 Subject: [PATCH] Update CI --- .github/workflows/build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe01f73..ae84472 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,10 +11,13 @@ jobs: build: strategy: matrix: - os: [ubuntu-22.04, ubuntu-20.04] - runs-on: ${{ matrix.os }} + os: + - { image: ubuntu-22.04, name: linux } + - { image: ubuntu-20.04, name: linux } + runs-on: ${{ matrix.os.image }} env: - CI_RUNS_ON: ${{ matrix.os }} + CI_OS_NAME: ${{ matrix.os.name }} + CI_RUNS_ON: ${{ matrix.os.image }} steps: - name: Checkout uses: actions/checkout@v4