From 0ce042c7a24d0744998340e81baab96f501cd5fd Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Tue, 16 Jul 2024 10:30:44 +0200 Subject: [PATCH] Fix release job --- .github/workflows/BuildPR.yml | 2 +- .github/workflows/Release.yml | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/BuildPR.yml b/.github/workflows/BuildPR.yml index efef44e3..ef45fdc8 100644 --- a/.github/workflows/BuildPR.yml +++ b/.github/workflows/BuildPR.yml @@ -73,7 +73,7 @@ jobs: name: Build Windows strategy: matrix: - task: [ sdk ] + task: [ parser, sdk ] runs-on: windows-2019 steps: - name: Checkout diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index ebe7a9ec..af90dfa4 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -80,16 +80,20 @@ jobs: with: mirror: http://ftp.fau.de/qtproject/ version: 5.15.2 - - name: Build ${{ matrix.task }} + - name: Build with CMake ${{ matrix.task }} run: > - $env:WORKSPACE=$env:GITHUB_WORKSPACE; $env:QTDIR=$env:Qt5_DIR.Replace('/','\'); - ./build_${{ matrix.task }}_windows_qt5_MSVC.bat + $env:WORKSPACE=$env:GITHUB_WORKSPACE; + $env:QTDIR=$env:Qt5_DIR.Replace('/','\'); + $env:CPACK_7Z="true"; + $env:CPACK_NSIS="true"; + ./build_sdk_windows_qt5_MSVC_cmake.bat - name: Archive artifact run: > Compress-Archive -Path .\build\dist -DestinationPath DLT-Windows-${{ matrix.task }}.zip - name: Upload DLT artifact uses: actions/upload-artifact@v4 + if: ${{ success() }} with: name: DLT-Windows-${{ matrix.task }} path: DLT-*.zip