From d912c8c32653a08e21f444b9193c50dbd67aa362 Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Tue, 13 Dec 2022 02:16:06 +0000 Subject: [PATCH] CI: don't specify bash as shell for commands. On Linux and macOS runners, bash is already the default. For Windows, specifying bash prevents the same step being used. --- .github/workflows/build.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef858dbd..63ab4de3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,31 +35,26 @@ jobs: run: cmake -E make_directory ${{runner.workspace}}/host/build - name: Configure CMake - shell: bash working-directory: ${{runner.workspace}}/host/build run: cmake $GITHUB_WORKSPACE/host/ -DCMAKE_BUILD_TYPE=Release - name: Build working-directory: ${{runner.workspace}}/host/build - shell: bash run: cmake --build . --config Release - name: Create Build Environment (libhackrf) run: cmake -E make_directory ${{runner.workspace}}/host/libhackrf/build - name: Configure CMake (libhackrf) - shell: bash working-directory: ${{runner.workspace}}/host/libhackrf/build run: cmake $GITHUB_WORKSPACE/host/libhackrf/ -DCMAKE_BUILD_TYPE=Release - name: Build (libhackrf) working-directory: ${{runner.workspace}}/host/libhackrf/build - shell: bash run: cmake --build . --config Release - name: Install (libhackrf) working-directory: ${{runner.workspace}}/host/libhackrf/build - shell: bash run: | sudo cmake --install . --config Release @@ -67,13 +62,11 @@ jobs: run: cmake -E make_directory ${{runner.workspace}}/host/hackrf-tools/build - name: Configure CMake (hackrf-tools) - shell: bash working-directory: ${{runner.workspace}}/host/hackrf-tools/build run: cmake $GITHUB_WORKSPACE/host/hackrf-tools/ -DCMAKE_BUILD_TYPE=Release - name: Build (hackrf-tools) working-directory: ${{runner.workspace}}/host/hackrf-tools/build - shell: bash run: cmake --build . --config Release firmware: