From d2d45f2470693b6e03c31797c1389a0325b3fc43 Mon Sep 17 00:00:00 2001 From: Remisa Yousefvand Date: Thu, 28 Nov 2024 17:16:04 +0330 Subject: [PATCH] release #6 --- .github/workflows/cmake-multi-platform.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index d97c728..e6ae340 100755 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -20,10 +20,13 @@ jobs: include: - os: ubuntu-latest artifact_extension: tar.gz + shell: bash - os: macos-latest artifact_extension: zip + shell: bash - os: windows-latest artifact_extension: zip + shell: pwsh steps: - name: Checkout code @@ -45,7 +48,6 @@ jobs: - name: Install dependencies (Windows) if: matrix.os == 'windows-latest' - shell: powershell run: | choco install qt --version=6.5.3 -y choco install ninja -y @@ -58,12 +60,12 @@ jobs: -DCMAKE_BUILD_TYPE=Release \ -G "Ninja" \ -S "${{ github.workspace }}" - shell: ${{ matrix.os == 'windows-latest' && 'pwsh' || 'bash' }} + shell: ${{ matrix.shell }} # Build Application - name: Build application run: cmake --build "${{ github.workspace }}/build" --config Release - shell: ${{ matrix.os == 'windows-latest' && 'pwsh' || 'bash' }} + shell: ${{ matrix.shell }} # Package Application - name: Package application (Ubuntu) @@ -88,7 +90,6 @@ jobs: run: | cd "${{ github.workspace }}/build" Compress-Archive -Path . -DestinationPath application.zip - shell: pwsh # Upload Artifacts - name: Upload artifact