From 69f7f233fd8e268aceba6e7d78a55d0195218ac5 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Wed, 18 Aug 2021 12:40:03 +0800 Subject: [PATCH] GHA CI: Remove OS variable from build matrix It is meaningless to build on multiple linux versions as we only depend on library versions, not OS versions. Also remove redundant "shell default" section. --- .github/workflows/ci.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7af61bd94..34724e4db 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,20 +14,14 @@ env: jobs: ubuntu: name: Ubuntu + runs-on: ubuntu-20.04 strategy: matrix: - os: [ubuntu-20.04] qbt_gui: ["GUI=ON", "GUI=OFF"] libt_version: ["v2.0.4", "v1.2.14"] fail-fast: false - runs-on: ${{ matrix.os }} - - defaults: - run: - shell: bash - steps: - name: Checkout repository uses: actions/checkout@v2 @@ -82,7 +76,7 @@ jobs: - name: Upload build artifacts uses: actions/upload-artifact@v2 with: - name: qBittorrent-CI_${{ matrix.os }}-x64_${{ matrix.qbt_gui }}_libtorrent-${{ matrix.libt_version }} + name: qBittorrent-CI_ubuntu-20.04-x64_${{ matrix.qbt_gui }}_libtorrent-${{ matrix.libt_version }} path: | build/compile_commands.json build/install_manifest.txt