From 1a7777c08821b73b5b3a5898a45f836176409ea6 Mon Sep 17 00:00:00 2001 From: "Greg A. Woods" Date: Fri, 22 Mar 2024 20:06:56 -0700 Subject: [PATCH] .github/workflows/c.yml: use actions/checkout@v4, fix startsWith() --- .github/workflows/c.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/c.yml b/.github/workflows/c.yml index 88d7e6b..cca464d 100644 --- a/.github/workflows/c.yml +++ b/.github/workflows/c.yml @@ -76,23 +76,23 @@ jobs: cc: clang steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: whoami run: | uname -a ${{ matrix.make }} -V MAKE_VERSION ${{ matrix.cc }} --version - name: macos_id - if: startsWith(matrix.os, 'macos') + if: ${{ startsWith(matrix.os, 'macos') }} run: | sw_vers - name: ubuntu_dependencies - if: startsWith(matrix.os, 'ubuntu') + if: ${{ startsWith(matrix.os, 'ubuntu') }} run: | sudo apt-get update sudo apt-get install bmake cxref - name: macos_dependencies - if: startsWith(matrix.os, 'macos') + if: ${{ startsWith(matrix.os, 'macos') }} run: | # n.b.: cxref is in macports.... which apparently can be installed like this: # wget https://github.com/macports/macports-base/releases/download/v2.9.1/MacPorts-2.9.1-14-Sonoma.pkg @@ -100,7 +100,7 @@ jobs: brew update brew install bmake - name: netbsd_dependencies - if: startsWith(matrix.os, 'netbsd') + if: ${{ startsWith(matrix.os, 'netbsd') }} run: | pkgin install cxref - name: builddir