Skip to content

Commit

Permalink
Fix release job
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Jul 16, 2024
1 parent 65b2439 commit 0ce042c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/BuildPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
name: Build Windows
strategy:
matrix:
task: [ sdk ]
task: [ parser, sdk ]
runs-on: windows-2019
steps:
- name: Checkout
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ce042c

Please sign in to comment.