From 64c9d531df0efc3f4e85be6d69e5695831993430 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 8 Nov 2023 13:08:10 +0300 Subject: [PATCH] ci: Identify CI jobs better and skip irrelevant platform specific steps --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 432bafb..6d119d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ on: jobs: build: - name: Test build on ${{ matrix.platform }} + name: Test ${{ matrix.luaVersion }} on ${{ matrix.platform }} strategy: fail-fast: false matrix: @@ -17,10 +17,10 @@ jobs: runs-on: ${{ matrix.platform }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup ’msvc’ + if: ${{ startsWith(matrix.platform, 'windows') && !startsWith(matrix.luaVersion, 'luajit') }} uses: ilammy/msvc-dev-cmd@v1 - if: ${{ !startsWith(matrix.luaVersion, 'luajit') }} - name: Setup ‘lua’ uses: leso-kn/gh-actions-lua@v11-staging with: